Skip to content

Commit b155fb0

Browse files
authored
Merge pull request #7742 from tautschnig/bugfixes/goto-inspect-test-makefile
Add goto-inspect regression tests to Makefile builds
2 parents 565375f + af7044a commit b155fb0

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

regression/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ DIRS = cbmc-shadow-memory \
2222
goto-instrument-json \
2323
goto-instrument-wmm-core \
2424
goto-instrument-typedef \
25+
goto-inspect \
2526
smt2_solver \
2627
smt2_strings \
2728
strings \

regression/goto-inspect/Makefile

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
default: tests.log
2+
3+
include ../../src/config.inc
4+
include ../../src/common
5+
6+
ifeq ($(BUILD_ENV_),MSVC)
7+
exe=../../../src/goto-cc/goto-cl
8+
is_windows=true
9+
excluded_tests = -X winbug
10+
else
11+
exe=../../../src/goto-cc/goto-cc
12+
is_windows=false
13+
endif
14+
15+
test:
16+
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/goto-inspect/goto-inspect $(is_windows)' $(excluded_tests)
17+
18+
tests.log:
19+
@../test.pl -e -p -c '../chain.sh $(exe) ../../../src/goto-inspect/goto-inspect $(is_windows)' $(excluded_tests)
20+
21+
clean:
22+
find . -name '*.out' -execdir $(RM) '{}' \;
23+
find . -name '*.gb' -execdir $(RM) '{}' \;
24+
$(RM) tests.log

0 commit comments

Comments
 (0)