diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-12-01 05:59:06 +0100 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-12-01 05:59:06 +0100 |
commit | f182c284fb2c093f8dbfc6a4b815762f36cc5217 (patch) | |
tree | 7df9f36103f2f9be83f135b714904ffbd9c432a7 /g13/all-tests.scm | |
parent | tests: Fix tests under cms. (diff) | |
download | gnupg2-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.scm | 7 |
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")) |