update VERSION to 0.9.27

Also:
- in tests: generate .expect files only if not yet present,
  because
  1) some files were adjusted manually
  2) switching git branche might change timestamps and
     cause unwanted update
This commit is contained in:
grischka 2017-02-08 19:56:15 +01:00
parent aa0a45be05
commit 5efa75d9b8
3 changed files with 6 additions and 6 deletions

View File

@ -1 +1 @@
0.9.26 0.9.27

View File

@ -31,11 +31,11 @@ FILTER = 2>&1 | sed 's,$(SRC)/,,g'
&& rm -f $*.output && rm -f $*.output
# automatically generate .expect files with gcc: # automatically generate .expect files with gcc:
%.expect: %.c %.expect: # %.c
$(CC) -E -P $< >$*.expect 2>&1 gcc -E -P $< >$*.expect 2>&1
%.expect: %.S %.expect: # %.S
$(CC) -E -P $< >$*.expect 2>&1 gcc -E -P $< >$*.expect 2>&1
# tell make not to delete # tell make not to delete
.PRECIOUS: %.expect .PRECIOUS: %.expect

View File

@ -62,7 +62,7 @@ all test: $(filter-out $(SKIP),$(TESTS))
@diff -Nbu $(SRC)/$*.expect $*.output && rm -f $*.output $*.exe @diff -Nbu $(SRC)/$*.expect $*.output && rm -f $*.output $*.exe
# automatically generate .expect files with gcc: # automatically generate .expect files with gcc:
%.expect : %.c %.expect : # %.c
(gcc -w $*.c -o a.exe && ./a.exe $(ARGS)) $(FILTER) >$*.expect 2>&1; rm -f a.exe (gcc -w $*.c -o a.exe && ./a.exe $(ARGS)) $(FILTER) >$*.expect 2>&1; rm -f a.exe
# tell make not to delete # tell make not to delete