History

Fixes for tests/Makefile.

- On x86-64, we need $(TARGET) in RUN_TCC. - s/RuN_TCC/RUN_TCC/

Shinichiro Hamaji committed 17 years ago

Commit 48ae0c01 parent 58297911 file · +3 −3Browse files

Unified · Split

tests/Makefile+3−3
@@ -17,7 +17,7 @@ include $(TOP)/Makefile · 16 unmodified lines
17 17
18# run local version of tcc with local libraries and includes18# run local version of tcc with local libraries and includes
19TCC = ../tcc -B..19TCC = ../tcc -B..
20RUN_TCC = -run ../tcc.c -B..20RUN_TCC = $(TARGET) -run ../tcc.c -B..
21DISAS=objdump -d21DISAS=objdump -d
22 22
23all test : $(TESTS)23all test : $(TESTS)
@@ -49,13 +49,13 @@ test1: test.ref · 25 unmodified lines
49# iterated test2 (compile tcc then compile tcctest.c !)49# iterated test2 (compile tcc then compile tcctest.c !)
50test2: test.ref50test2: test.ref
51 @echo ------------ $@ ------------51 @echo ------------ $@ ------------
52 $(TCC) $(RUN_TCC) $(RuN_TCC) -run tcctest.c > test.out252 $(TCC) $(RUN_TCC) $(RUN_TCC) -run tcctest.c > test.out2
53 @if diff -u test.ref test.out2 ; then echo "Auto Test2 OK"; fi53 @if diff -u test.ref test.out2 ; then echo "Auto Test2 OK"; fi
54 54
55# iterated test3 (compile tcc then compile tcc then compile tcctest.c !)55# iterated test3 (compile tcc then compile tcc then compile tcctest.c !)
56test3: test.ref56test3: test.ref
57 @echo ------------ $@ ------------57 @echo ------------ $@ ------------
58 $(TCC) $(RUN_TCC) $(RuN_TCC) $(RUN_TCC) -run tcctest.c > test.out358 $(TCC) $(RUN_TCC) $(RUN_TCC) $(RUN_TCC) -run tcctest.c > test.out3
59 @if diff -u test.ref test.out3 ; then echo "Auto Test3 OK"; fi59 @if diff -u test.ref test.out3 ; then echo "Auto Test3 OK"; fi
60 60
61# binary output test61# binary output test