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 /g10 | |
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 'g10')
-rw-r--r-- | g10/all-tests.scm | 7 |
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"))) |