Skip to content

Commit

Permalink
Remove unnecessary PLATFORM_DIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschrammel committed Jul 7, 2018
1 parent 0c75b47 commit f1afbff
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions jbmc/regression/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,16 @@ DIRS = janalyzer-taint \
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 f1afbff

Please sign in to comment.