Skip to content

Commit

Permalink
Merge pull request diffblue#2556 from peterschrammel/run-string-smoke…
Browse files Browse the repository at this point in the history
…-tests

Run strings-smoke-tests
  • Loading branch information
peterschrammel authored Jul 8, 2018
2 parents d393d1c + f1afbff commit d98a39b
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions jbmc/regression/Makefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
# For the best possible utilisation of multiple cores when
# running tests in parallel, it is important that these directories are
# listed with decreasing runtimes (i.e. longest running at the top)
DIRS = janalzyer-taint \
DIRS = janalyzer-taint \
jbmc \
jbmc-concurrency \
jbmc-cover \
jbmc-inheritance \
jbmc-strings \
jdiff \
string-smoke-tests \
strings-smoke-tests \
jbmc-generics \
# Empty last line

# Tests under goto-gcc cannot be run on Windows, so appveyor.yml unlinks
# the entire directory under Windows. This variable will contain the list
# of directories that actually exist on the current platform.
PLATFORM_DIRS = $(wildcard $(DIRS))

# Run all test directories in sequence
.PHONY: test
test:
@for dir in $(PLATFORM_DIRS); do \
@for dir in $(DIRS); do \
$(MAKE) "$$dir" || exit 1; \
done;

# Pattern to execute a single test suite directory
.PHONY: $(PLATFORM_DIRS)
$(PLATFORM_DIRS):
.PHONY: $(DIRS)
$(DIRS):
@echo "Running $@..." ;
$(MAKE) -C "$@" test || exit 1;

Expand All @@ -42,7 +37,7 @@ test-parallel:
--linebuffer \
--jobs $(JOBS) \
$(MAKE) "{}" \
::: $(PLATFORM_DIRS)
::: $(DIRS)


.PHONY: clean
Expand Down

0 comments on commit d98a39b

Please sign in to comment.