summaryrefslogtreecommitdiffstats
path: root/g13/all-tests.scm
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 /g13/all-tests.scm
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 '')
-rw-r--r--g13/all-tests.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/g13/all-tests.scm b/g13/all-tests.scm
index c96f09231..813372358 100644
--- a/g13/all-tests.scm
+++ b/g13/all-tests.scm
@@ -34,9 +34,10 @@
"g13"))))
(if g13-enabled?
(map (lambda (name)
- (test::binary #f
- (path-join "g13" name)
- (path-join (getenv "objdir") "g13" name)))
+ (let ((name-ext (string-append name (getenv "EXEEXT"))))
+ (test::binary #f
+ (path-join "g13" name-ext)
+ (path-join (getenv "objdir") "g13" name-ext))))
(parse-makefile-expand (in-srcdir "g13" "Makefile.am")
(lambda (filename port key) (parse-makefile port key))
"module_tests"))