summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-12-01 05:59:06 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2022-12-01 05:59:06 +0100
commitf182c284fb2c093f8dbfc6a4b815762f36cc5217 (patch)
tree7df9f36103f2f9be83f135b714904ffbd9c432a7 /g10
parenttests: Fix tests under cms. (diff)
downloadgnupg2-f182c284fb2c093f8dbfc6a4b815762f36cc5217.tar.xz
gnupg2-f182c284fb2c093f8dbfc6a4b815762f36cc5217.zip
tests: Support semihosted environment.
* Makefile.am (check-all): Add EXEEXT. * agent/all-tests.scm: Append EXEEXT. * common/all-tests.scm: Likewise. * g10/all-tests.scm: Likewise. * g13/all-tests.scm: Likewise. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'g10')
-rw-r--r--g10/all-tests.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/all-tests.scm b/g10/all-tests.scm
index 982220b28..02fcde7b5 100644
--- a/g10/all-tests.scm
+++ b/g10/all-tests.scm
@@ -27,9 +27,10 @@
(parse-makefile-expand filename expander key))
(map (lambda (name)
- (test::binary #f
- (path-join "g10" name)
- (path-join (getenv "objdir") "g10" name)))
+ (let ((name-ext (string-append name (getenv "EXEEXT"))))
+ (test::binary #f
+ (path-join "g10" name-ext)
+ (path-join (getenv "objdir") "g10" name-ext))))
(parse-makefile-expand (in-srcdir "g10" "Makefile.am")
(lambda (filename port key) (parse-makefile port key))
"module_tests")))