History

Fix "make -j test"

The clean-s rule must be run before the tests, not at the same time!

Vincent Lefevre committed 7 years ago

Commit 920f7731 parent 4b46e0e1 file · +3 −1Browse files

Unified · Split

tests/Makefile+3−1
@@ -59,7 +59,9 @@ RUN_TCC = $(NATIVE_DEFINES) -run $(TOPSRC)/tcc.c $(TCCFLAGS) · 58 unmodified lines
5959 DISAS = objdump -d
6060 DUMPTCC = (set -x; $(TOP)/tcc -vv; ldd $(TOP)/tcc; exit 1)
6161
62−all test : clean-s $(TESTS)
62+all test :
63+ $(MAKE) clean-s
64+ $(MAKE) $(TESTS)
6365
6466 hello-exe: ../examples/ex1.c
6567 @echo ------------ $@ ------------

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t