Skip to content

Commit 346cec5

Browse files
lars-t-hansenLars T Hansen
authored andcommitted
Fix #448 - clean test binaries (uplift)
1 parent 6081dea commit 346cec5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ release:
1010
test: debug release
1111
cargo test
1212
( cd util ; $(MAKE) test )
13-
( cd tests; ./run_tests.sh )
13+
( cd tests; $(MAKE) test )
1414

1515
format:
1616
cargo fmt

tests/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
CFLAGS=-Wall -std=c89 -O1
2-
.PHONY: default rollup-programs clean
2+
.PHONY: default rollup-programs clean test
33

44
default:
55
@echo "Pick a specific target"
66

7+
# Necessary to delete the programs here b/c sometimes the directory is shared between
8+
# machines with different architectures.
9+
test:
10+
$(MAKE) clean
11+
./run_tests.sh
12+
713
rollup-programs: rollup rollup2 rollupchild rollupchild2
814

915
format:

0 commit comments

Comments
 (0)