File tree 23 files changed +80
-219
lines changed
23 files changed +80
-219
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set(test_pl_path "${CMAKE_CURRENT_SOURCE_DIR}/test.pl")
6
6
macro (add_test_pl_profile name cmdline flag profile)
7
7
add_test (
8
8
NAME "${name} -${profile} "
9
- COMMAND ${test_pl_path} -c ${cmdline} ${flag}
9
+ COMMAND ${test_pl_path} -p - c ${cmdline} ${flag}
10
10
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} "
11
11
)
12
12
set_tests_properties ("${name} -${profile} " PROPERTIES
Original file line number Diff line number Diff line change 10
10
endif
11
11
12
12
test :
13
- @if ! ../test.pl -c $(exe ) ; then \
14
- ../failed-tests-printer.pl ; \
15
- exit 1 ; \
16
- fi
13
+ @../test.pl -p -c $(exe )
17
14
18
15
tests.log : ../test.pl
19
- @if ! ../test.pl -c $(exe ) ; then \
20
- ../failed-tests-printer.pl ; \
21
- exit 1 ; \
22
- fi
16
+ @../test.pl -p -c $(exe )
23
17
24
18
show :
25
19
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/cbmc/cbmc
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/cbmc/cbmc
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/jbmc/jbmc
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/jbmc/jbmc
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/jbmc/jbmc
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/jbmc/jbmc
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/cbmc/cbmc
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/cbmc/cbmc
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c python ../../../scripts/cpplint.py ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c " python ../../../scripts/cpplint.py"
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c " python ../../../scripts/cpplint.py" ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c " python ../../../scripts/cpplint.py"
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 10
10
endif
11
11
12
12
test :
13
- @if ! ../test.pl -c $(exe ) ; then \
14
- ../failed-tests-printer.pl ; \
15
- exit 1 ; \
16
- fi
13
+ @../test.pl -p -c $(exe )
17
14
18
15
tests.log : ../test.pl
19
- @if ! ../test.pl -c $(exe ) ; then \
20
- ../failed-tests-printer.pl ; \
21
- exit 1 ; \
22
- fi
16
+ @../test.pl -p -c $(exe )
23
17
24
18
show :
25
19
@for dir in * ; do \
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/cbmc/cbmc
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/cbmc/cbmc ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/cbmc/cbmc
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/goto-analyzer/goto-analyzer ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/goto-analyzer/goto-analyzer
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/goto-analyzer/goto-analyzer ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/goto-analyzer/goto-analyzer
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/goto-analyzer/goto-analyzer ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/goto-analyzer/goto-analyzer
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/goto-analyzer/goto-analyzer ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/goto-analyzer/goto-analyzer
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change 12
12
endif
13
13
14
14
test :
15
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/cbmc/cbmc $(is_windows)' ; then \
16
- ../failed-tests-printer.pl ; \
17
- exit 1; \
18
- fi
15
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/cbmc/cbmc $(is_windows)'
19
16
20
17
tests.log :
21
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/cbmc/cbmc $(is_windows)' ; then \
22
- ../failed-tests-printer.pl ; \
23
- exit 1; \
24
- fi
18
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/cbmc/cbmc $(is_windows)'
25
19
26
20
show :
27
21
@for dir in * ; do \
Original file line number Diff line number Diff line change 12
12
endif
13
13
14
14
test :
15
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/goto-analyzer/goto-analyzer $(is_windows)' ; then \
16
- ../failed-tests-printer.pl ; \
17
- exit 1; \
18
- fi
15
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/goto-analyzer/goto-analyzer $(is_windows)'
19
16
20
17
tests.log :
21
18
pwd
22
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/goto-analyzer/goto-analyzer $(is_windows)' ; then \
23
- ../failed-tests-printer.pl ; \
24
- exit 1; \
25
- fi
19
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/goto-analyzer/goto-analyzer $(is_windows)'
26
20
27
21
show :
28
22
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/goto-diff/goto-diff ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/goto-diff/goto-diff
8
5
9
6
tests.log : ../test.pl
10
- @if ! ../test.pl -c ../../../src/goto-diff/goto-diff ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/goto-diff/goto-diff
14
8
15
9
show :
16
10
@for dir in * ; do \
Original file line number Diff line number Diff line change @@ -2,17 +2,11 @@ default: tests.log
2
2
3
3
test :
4
4
-@ln -s goto-cc ../../src/goto-cc/goto-gcc
5
- @if ! ../test.pl -c ../../../src/goto-cc/goto-gcc ; then \
6
- ../failed-tests-printer.pl ; \
7
- exit 1 ; \
8
- fi
5
+ @../test.pl -p -c ../../../src/goto-cc/goto-gcc
9
6
10
7
tests.log : ../test.pl
11
8
-@ln -s goto-cc ../../src/goto-cc/goto-gcc
12
- @if ! ../test.pl -c ../../../src/goto-cc/goto-gcc ; then \
13
- ../failed-tests-printer.pl ; \
14
- exit 1 ; \
15
- fi
9
+ @../test.pl -p -c ../../../src/goto-cc/goto-gcc
16
10
17
11
show :
18
12
@for dir in * ; do \
Original file line number Diff line number Diff line change 12
12
endif
13
13
14
14
test :
15
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument $(is_windows)' ; then \
16
- ../failed-tests-printer.pl ; \
17
- exit 1; \
18
- fi
15
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument $(is_windows)'
19
16
20
17
tests.log :
21
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument $(is_windows)' ; then \
22
- ../failed-tests-printer.pl ; \
23
- exit 1; \
24
- fi
18
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument $(is_windows)'
25
19
26
20
show :
27
21
@for dir in * ; do \
Original file line number Diff line number Diff line change 12
12
endif
13
13
14
14
test :
15
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)' ; then \
16
- ../failed-tests-printer.pl ; \
17
- exit 1; \
18
- fi
15
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)'
19
16
20
17
tests.log :
21
- @if ! ../test.pl -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)' ; then \
22
- ../failed-tests-printer.pl ; \
23
- exit 1; \
24
- fi
18
+ @../test.pl -p -c ' ../chain.sh $(exe) ../../../src/goto-instrument/goto-instrument ../../../src/cbmc/cbmc $(is_windows)'
25
19
26
20
show :
27
21
@for dir in * ; do \
Original file line number Diff line number Diff line change @@ -11,16 +11,10 @@ include ../../src/config.inc
11
11
include ../../src/common
12
12
13
13
test : driver$(EXEEXT )
14
- @if ! ../test.pl -c ../driver ; then \
15
- ../failed-tests-printer.pl ; \
16
- exit 1 ; \
17
- fi
14
+ @../test.pl -p -c ../driver
18
15
19
16
tests.log : ../test.pl driver$(EXEEXT )
20
- @if ! ../test.pl -c ../driver ; then \
21
- ../failed-tests-printer.pl ; \
22
- exit 1 ; \
23
- fi
17
+ @../test.pl -p -c ../driver
24
18
25
19
show :
26
20
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
1
default : tests.log
2
2
3
3
test :
4
- @if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
5
- ../failed-tests-printer.pl ; \
6
- exit 1 ; \
7
- fi
4
+ @../test.pl -p -c ../../../src/jbmc/jbmc
8
5
9
6
testfuture :
10
- @if ! ../test.pl -c ../../../src/jbmc/jbmc -CF ; then \
11
- ../failed-tests-printer.pl ; \
12
- exit 1 ; \
13
- fi
7
+ @../test.pl -p -c ../../../src/jbmc/jbmc -CF
14
8
15
9
testall :
16
- @if ! ../test.pl -c ../../../src/jbmc/jbmc -CFTK ; then \
17
- ../failed-tests-printer.pl ; \
18
- exit 1 ; \
19
- fi
10
+ @../test.pl -p -c ../../../src/jbmc/jbmc -CFTK
20
11
21
12
tests.log : ../test.pl
22
- @if ! ../test.pl -c ../../../src/jbmc/jbmc ; then \
23
- ../failed-tests-printer.pl ; \
24
- exit 1 ; \
25
- fi
13
+ @../test.pl -p -c ../../../src/jbmc/jbmc
26
14
27
15
show :
28
16
@for dir in * ; do \
You can’t perform that action at this time.
0 commit comments