tests: Add 'basic.sh'
* tests/init.sh: New test framework from Gnulib. * tests/basic.sh: New test. * Makefile.am (TESTS): Add it. (TEST_EXTENSIONS): Add '.sh'. (SH_LOG_COMPILER): Use 'pre-inst-env'. (EXTRA_DIST): Add 'tests/init.sh'. * build-aux/pre-inst-env.in: export $srcdir for shell tests.
This commit is contained in:
parent
811ad9167a
commit
c285d36ab2
5 changed files with 647 additions and 1 deletions
|
|
@ -124,14 +124,17 @@ DISTCLEANFILES = src/mcron/config.scm
|
|||
## Test suite. ##
|
||||
## ------------ ##
|
||||
|
||||
TEST_EXTENSIONS = .scm
|
||||
TEST_EXTENSIONS = .scm .sh
|
||||
AM_TESTS_ENVIRONMENT = env GUILE_AUTO_COMPILE='0'
|
||||
|
||||
SH_LOG_COMPILER = ./pre-inst-env $(SHELL)
|
||||
|
||||
SCM_LOG_DRIVER = \
|
||||
$(builddir)/pre-inst-env $(GUILE) \
|
||||
$(srcdir)/build-aux/test-driver.scm
|
||||
|
||||
TESTS = \
|
||||
tests/basic.sh \
|
||||
tests/environment.scm \
|
||||
tests/job-specifier.scm
|
||||
|
||||
|
|
@ -160,6 +163,7 @@ gen-ChangeLog:
|
|||
EXTRA_DIST = \
|
||||
bootstrap \
|
||||
build-aux/guix.scm \
|
||||
tests/init.sh \
|
||||
$(TESTS)
|
||||
|
||||
## -------------- ##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue