aboutsummaryrefslogtreecommitdiff
path: root/tests/pp/Makefile
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2016-05-01 05:43:57 +0300
committerseyko <seyko2@gmail.com>2016-05-01 05:43:57 +0300
commita1c139063b9157c804fd76eedb6a8060726fe0d5 (patch)
tree59ccd96c58dbe63c9244fdf7d957a044a4df5ef9 /tests/pp/Makefile
parent256078933c8152038fd0d4fbff1d92b3bb3a14a3 (diff)
downloadtinycc-a1c139063b9157c804fd76eedb6a8060726fe0d5.tar.gz
tinycc-a1c139063b9157c804fd76eedb6a8060726fe0d5.tar.bz2
output space after TOK_PPNUM which followed by '+' or '-'
* correct -E output for the case ++ + ++ concatenation do this only for expanded from macro string and only when tcc_state->output_type == TCC_OUTPUT_PREPROCESS
Diffstat (limited to 'tests/pp/Makefile')
-rw-r--r--tests/pp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pp/Makefile b/tests/pp/Makefile
index 5694ebb..7f42a3e 100644
--- a/tests/pp/Makefile
+++ b/tests/pp/Makefile
@@ -6,17 +6,17 @@ TCC = ../../tcc
TESTS = $(patsubst %.c,%.test,$(wildcard *.c))
TESTS += $(patsubst %.S,%.test,$(wildcard *.S))
-all test : $(TESTS)
+all test : $(sort $(TESTS))
%.test: %.c %.expect
@echo PPTest $* ...
- @$(TCC) -E -P $< >$*.output 2>&1 ; \
+ -@$(TCC) -E -P $< >$*.output 2>&1 ; \
diff -Nu -b -B -I "^#" $(EXTRA_DIFF_OPTS) $*.expect $*.output \
&& rm -f $*.output
%.test: %.S %.expect
@echo PPTest $* ...
- @$(TCC) -E -P $< >$*.output 2>&1 ; \
+ -@$(TCC) -E -P $< >$*.output 2>&1 ; \
diff -Nu -b -B -I "^#" $(EXTRA_DIFF_OPTS) $*.expect $*.output \
&& rm -f $*.output