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,7 +23,7 @@
(test::binary #f (test::binary #f
(path-join "common" name-ext) (path-join "common" name-ext)
(path-join (getenv "objdir") "common" name-ext)))) (path-join (getenv "objdir") "common" name-ext))))
(list "t-stringhelp" `("t-stringhelp"
"t-timestuff" "t-timestuff"
"t-convert" "t-convert"
"t-percent" "t-percent"
@ -41,6 +41,9 @@
"t-name-value" "t-name-value"
"t-ccparray" "t-ccparray"
"t-recsel" "t-recsel"
"t-exechelp" ,@(if *win32*
"t-exectool" '("t-w32-reg"
"t-w32-cmdline")
'("t-exechelp"
"t-exectool"))
))) )))

View File

@ -28,6 +28,8 @@ include $(top_srcdir)/am/cmacros.am
AM_CFLAGS = AM_CFLAGS =
GPGSM = ../../sm/gpgsm
# Note that we need to use /bin/pwd so that we don't get into trouble # 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 # if the shell used for inittests would uses an internal version of
# pwd which handles symlinks differently. # 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 \ TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
GNUPG_BUILD_ROOT="$(abs_top_builddir)" \ GNUPG_BUILD_ROOT="$(abs_top_builddir)" \
GNUPG_IN_TEST_SUITE=fact \ GNUPG_IN_TEST_SUITE=fact \
GPGSM=$(GPGSM) silent=yes GPGSM=$(GPGSM)$(EXEEXT) silent=yes
testscripts = import-all-certs validate-all-certs \ testscripts = import-all-certs validate-all-certs \