File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ AC_PREREQ([2.71])
35
35
# See if --prefix was set. If not, set it to a reasonable default
36
36
# based on where bash thinks bashdb is supposed to be installed.
37
37
# #################################################################
38
- AM_INIT_AUTOMAKE ( [ foreign] )
38
+ AM_INIT_AUTOMAKE ( [ foreign serial-tests ] )
39
39
AM_MAINTAINER_MODE
40
40
41
41
Original file line number Diff line number Diff line change 1
1
# # Process this file with automake to produce Makefile.in -*-Makefile-*-.
2
- COMBINED_TESTS = $(wildcard test-* .sh)
3
- tests_sources = $(notdir $(COMBINED_TESTS:=.in ) )
2
+
3
+ # Don't forget to add the *.in files of new tests to configure.ac in the root folder
4
+ TESTS = test-action.sh \
5
+ test-alias.sh \
6
+ test-bashdb-trace.sh \
7
+ test-break.sh \
8
+ test-cmd-complete.sh \
9
+ test-cmd-eval.sh \
10
+ test-cmd-info-variables.sh \
11
+ test-columns.sh \
12
+ test-filecache.sh \
13
+ test-file.sh \
14
+ test-fns.sh \
15
+ test-frame.sh \
16
+ test-get-sourceline.sh \
17
+ test-io.sh \
18
+ test-lib-eval.sh \
19
+ test-lib-list.sh \
20
+ test-logging.sh \
21
+ test-msg.sh \
22
+ test-pre.sh \
23
+ test-require.sh \
24
+ test-run.sh \
25
+ test-save-restore.sh \
26
+ test-sort.sh \
27
+ test-validate.sh
28
+
29
+ tests_sources = $(notdir $(TESTS:=.in ) )
4
30
5
31
abs_srcdir =@abs_srcdir@
6
32
abs_builddir =@abs_builddir@
7
33
8
34
TESTS_ENVIRONMENT = \
9
35
srcdir="$(abs_srcdir ) " \
10
- builddir="$(abs_builddir ) "
36
+ builddir="$(abs_builddir ) " \
37
+ $(SH_PROG ) $(abs_srcdir ) /shunit2 \
38
+ $(abs_srcdir ) /helper.sh $(abs_srcdir ) /mock-cmd.sh \
39
+ $(abs_srcdir ) /require_me.sh
11
40
12
41
EXTRA_DIST = \
13
42
helper.sh \
14
43
mock-cmd.sh \
15
44
require_me.sh \
16
- require_me.sh.in $(COMBINED_TESTS ) shunit2 $(tests_sources )
45
+ require_me.sh.in $(TESTS ) shunit2 $(tests_sources )
17
46
18
47
test : check
19
48
test-unit : check
You can’t perform that action at this time.
0 commit comments