Skip to content

Commit 4fcc80b

Browse files
committed
Unify make and cmake behaviours
This fixes the inconsistencies between cmake and make behaviours.
1 parent b7859de commit 4fcc80b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

regression/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ test:
7171
.PHONY: $(DIRS)
7272
$(DIRS):
7373
@echo "Running $@..." ;
74-
$(MAKE) -C "$@" test || exit 1;
74+
$(MAKE) -C "$@" || exit 1;
7575

7676
# Run all test directories using GNU Parallel
7777
.PHONY: test-parallel

regression/cbmc/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
THIS_FILE := $(lastword $(MAKEFILE_LIST))
2+
13
default: test
24

35
include ../../src/config.inc
@@ -11,6 +13,8 @@ endif
1113

1214
test:
1315
@../test.pl -e -p -c "../../../src/cbmc/cbmc --validate-goto-model --validate-ssa-equation" -X smt-backend $(GCC_ONLY)
16+
@$(MAKE) -f $(THIS_FILE) test-paths-lifo
17+
@$(MAKE) -f $(THIS_FILE) test-cprover-smt2
1418

1519
test-cprover-smt2:
1620
@../test.pl -e -p -c "../../../src/cbmc/cbmc --cprover-smt2" -X broken-smt-backend -X thorough-smt-backend $(GCC_ONLY)

0 commit comments

Comments
 (0)