Skip to content

Commit 16e31c0

Browse files
committed
Enable memory analyzer regression tests when WITH_MEMORY_ANALYZER is set
1 parent 581b543 commit 16e31c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

regression/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ DIRS = cbmc \
3030
symtab2gb \
3131
# Empty last line
3232

33+
ifeq ($(WITH_MEMORY_ANALYZER),1)
34+
DIRS += memory-analyzer
35+
endif
36+
3337
# Run all test directories in sequence
3438
.PHONY: test
3539
test:
3640
@for dir in $(DIRS); do \
37-
if [ "$$dir" != memory-analyzer -o "$WITH_MEMORY_ANALYZER" = 1 ]; then \
3841
$(MAKE) "$$dir" || exit 1; \
39-
fi \
4042
done;
4143

4244
# Pattern to execute a single test suite directory

0 commit comments

Comments
 (0)