mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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>
This commit is contained in:
parent
a9a1ee8726
commit
f182c284fb
@ -218,7 +218,7 @@ TESTS_ENVIRONMENT = \
|
|||||||
.PHONY: check-all release sign-release
|
.PHONY: check-all release sign-release
|
||||||
check-all:
|
check-all:
|
||||||
$(TESTS_ENVIRONMENT) \
|
$(TESTS_ENVIRONMENT) \
|
||||||
$(abs_top_builddir)/tests/gpgscm/gpgscm \
|
$(abs_top_builddir)/tests/gpgscm/gpgscm$(EXEEXT) \
|
||||||
$(abs_srcdir)/tests/run-tests.scm $(TESTFLAGS) $(TESTS)
|
$(abs_srcdir)/tests/run-tests.scm $(TESTFLAGS) $(TESTS)
|
||||||
|
|
||||||
# Names of to help the release target.
|
# Names of to help the release target.
|
||||||
|
@ -27,9 +27,10 @@
|
|||||||
(parse-makefile-expand filename expander key))
|
(parse-makefile-expand filename expander key))
|
||||||
|
|
||||||
(map (lambda (name)
|
(map (lambda (name)
|
||||||
(test::binary #f
|
(let ((name-ext (string-append name (getenv "EXEEXT"))))
|
||||||
(path-join "agent" name)
|
(test::binary #f
|
||||||
(path-join (getenv "objdir") "agent" name)))
|
(path-join "agent" name-ext)
|
||||||
|
(path-join (getenv "objdir") "agent" name-ext))))
|
||||||
(parse-makefile-expand (in-srcdir "agent" "Makefile.am")
|
(parse-makefile-expand (in-srcdir "agent" "Makefile.am")
|
||||||
(lambda (filename port key) (parse-makefile port key))
|
(lambda (filename port key) (parse-makefile port key))
|
||||||
"module_tests")))
|
"module_tests")))
|
||||||
|
@ -19,9 +19,10 @@
|
|||||||
;; XXX: Currently, the makefile parser does not understand this
|
;; XXX: Currently, the makefile parser does not understand this
|
||||||
;; Makefile.am, so we hardcode the list of tests here.
|
;; Makefile.am, so we hardcode the list of tests here.
|
||||||
(map (lambda (name)
|
(map (lambda (name)
|
||||||
(test::binary #f
|
(let ((name-ext (string-append name (getenv "EXEEXT"))))
|
||||||
(path-join "common" name)
|
(test::binary #f
|
||||||
(path-join (getenv "objdir") "common" name)))
|
(path-join "common" name-ext)
|
||||||
|
(path-join (getenv "objdir") "common" name-ext))))
|
||||||
(list "t-stringhelp"
|
(list "t-stringhelp"
|
||||||
"t-timestuff"
|
"t-timestuff"
|
||||||
"t-convert"
|
"t-convert"
|
||||||
|
@ -27,9 +27,10 @@
|
|||||||
(parse-makefile-expand filename expander key))
|
(parse-makefile-expand filename expander key))
|
||||||
|
|
||||||
(map (lambda (name)
|
(map (lambda (name)
|
||||||
(test::binary #f
|
(let ((name-ext (string-append name (getenv "EXEEXT"))))
|
||||||
(path-join "g10" name)
|
(test::binary #f
|
||||||
(path-join (getenv "objdir") "g10" name)))
|
(path-join "g10" name-ext)
|
||||||
|
(path-join (getenv "objdir") "g10" name-ext))))
|
||||||
(parse-makefile-expand (in-srcdir "g10" "Makefile.am")
|
(parse-makefile-expand (in-srcdir "g10" "Makefile.am")
|
||||||
(lambda (filename port key) (parse-makefile port key))
|
(lambda (filename port key) (parse-makefile port key))
|
||||||
"module_tests")))
|
"module_tests")))
|
||||||
|
@ -34,9 +34,10 @@
|
|||||||
"g13"))))
|
"g13"))))
|
||||||
(if g13-enabled?
|
(if g13-enabled?
|
||||||
(map (lambda (name)
|
(map (lambda (name)
|
||||||
(test::binary #f
|
(let ((name-ext (string-append name (getenv "EXEEXT"))))
|
||||||
(path-join "g13" name)
|
(test::binary #f
|
||||||
(path-join (getenv "objdir") "g13" name)))
|
(path-join "g13" name-ext)
|
||||||
|
(path-join (getenv "objdir") "g13" name-ext))))
|
||||||
(parse-makefile-expand (in-srcdir "g13" "Makefile.am")
|
(parse-makefile-expand (in-srcdir "g13" "Makefile.am")
|
||||||
(lambda (filename port key) (parse-makefile port key))
|
(lambda (filename port key) (parse-makefile port key))
|
||||||
"module_tests"))
|
"module_tests"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user