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
1717
1818 # run local version of tcc with local libraries and includes
1919 TCC = ../tcc -B..
20−RUN_TCC = -run ../tcc.c -B..
20+RUN_TCC = $(TARGET) -run ../tcc.c -B..
2121 DISAS=objdump -d
2222
2323 all test : $(TESTS)
@@ -49,13 +49,13 @@ test1: test.ref · 25 unmodified lines
4949 # iterated test2 (compile tcc then compile tcctest.c !)
5050 test2: test.ref
5151 @echo ------------ $@ ------------
52− $(TCC) $(RUN_TCC) $(RuN_TCC) -run tcctest.c > test.out2
52+ $(TCC) $(RUN_TCC) $(RUN_TCC) -run tcctest.c > test.out2
5353 @if diff -u test.ref test.out2 ; then echo "Auto Test2 OK"; fi
5454
5555 # iterated test3 (compile tcc then compile tcc then compile tcctest.c !)
5656 test3: test.ref
5757 @echo ------------ $@ ------------
58− $(TCC) $(RUN_TCC) $(RuN_TCC) $(RUN_TCC) -run tcctest.c > test.out3
58+ $(TCC) $(RUN_TCC) $(RUN_TCC) $(RUN_TCC) -run tcctest.c > test.out3
5959 @if diff -u test.ref test.out3 ; then echo "Auto Test3 OK"; fi
6060
6161 # binary output test