1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

tests: More fix for semihosted environment.

* common/all-tests.scm: Conditionalize by *win32*.
* tests/cms/Makefile.am (GPGSM): Add missing GPGSM.
* tests/pkits/Makefile.am (TESTS_ENVIRONMENT): Add EXEEXT.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2022-12-01 17:09:45 +09:00
parent f182c284fb
commit 594c3274d6
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054
3 changed files with 27 additions and 22 deletions

View File

@ -23,24 +23,27 @@
(test::binary #f
(path-join "common" name-ext)
(path-join (getenv "objdir") "common" name-ext))))
(list "t-stringhelp"
"t-timestuff"
"t-convert"
"t-percent"
"t-gettime"
"t-sysutils"
"t-sexputil"
"t-session-env"
"t-openpgp-oid"
"t-ssh-utils"
"t-mapstrings"
"t-zb32"
"t-mbox-util"
"t-iobuf"
"t-strlist"
"t-name-value"
"t-ccparray"
"t-recsel"
"t-exechelp"
"t-exectool"
)))
`("t-stringhelp"
"t-timestuff"
"t-convert"
"t-percent"
"t-gettime"
"t-sysutils"
"t-sexputil"
"t-session-env"
"t-openpgp-oid"
"t-ssh-utils"
"t-mapstrings"
"t-zb32"
"t-mbox-util"
"t-iobuf"
"t-strlist"
"t-name-value"
"t-ccparray"
"t-recsel"
,@(if *win32*
'("t-w32-reg"
"t-w32-cmdline")
'("t-exechelp"
"t-exectool"))
)))

View File

@ -28,6 +28,8 @@ include $(top_srcdir)/am/cmacros.am
AM_CFLAGS =
GPGSM = ../../sm/gpgsm
# Note that we need to use /bin/pwd so that we don't get into trouble
# if the shell used for inittests would uses an internal version of
# pwd which handles symlinks differently.

View File

@ -23,7 +23,7 @@ GPGSM = ../../sm/gpgsm
TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
GNUPG_BUILD_ROOT="$(abs_top_builddir)" \
GNUPG_IN_TEST_SUITE=fact \
GPGSM=$(GPGSM) silent=yes
GPGSM=$(GPGSM)$(EXEEXT) silent=yes
testscripts = import-all-certs validate-all-certs \