mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-24 16:31:14 +00:00
more automatic testing
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@338 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
5e365a8723
commit
6c3ec454d3
@ -1,9 +1,14 @@
|
|||||||
|
|
||||||
.SILENT:
|
.SILENT:
|
||||||
|
|
||||||
.PHONY: cpus errors warnings
|
.PHONY: auto bugfixes cpus errors warnings
|
||||||
|
|
||||||
all: bugfixes cpus errors warnings
|
all: auto bugfixes cpus errors warnings
|
||||||
|
|
||||||
|
auto:
|
||||||
|
echo "Performing self-tests..."
|
||||||
|
echo
|
||||||
|
make -C auto
|
||||||
|
|
||||||
bugfixes:
|
bugfixes:
|
||||||
echo "Testing bugfixes..."
|
echo "Testing bugfixes..."
|
||||||
|
15
testing/auto/Makefile
Normal file
15
testing/auto/Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
ACMEFLAGS = -v0
|
||||||
|
FILES := $(wildcard *.a)
|
||||||
|
TESTS = $(subst .a,.test,$(FILES))
|
||||||
|
|
||||||
|
.SILENT:
|
||||||
|
|
||||||
|
%.test: %.a
|
||||||
|
echo "Test:" $<
|
||||||
|
acme $(ACMEFLAGS) $<
|
||||||
|
echo "Ok."
|
||||||
|
|
||||||
|
all: $(TESTS)
|
||||||
|
echo
|
||||||
|
echo "Self-tests: PASSED"
|
||||||
|
echo
|
@ -2,4 +2,5 @@
|
|||||||
; the "skip code" function did not honor quotes, so stuff after ':' was
|
; the "skip code" function did not honor quotes, so stuff after ':' was
|
||||||
; executed.
|
; executed.
|
||||||
!ifdef UNDEFINED !tx " dummy : older versions tried to parse this!"
|
!ifdef UNDEFINED !tx " dummy : older versions tried to parse this!"
|
||||||
|
!ifdef UNDEFINED !tx ' dummy : older versions tried to parse this!'
|
||||||
; fixing this supersedes two older fixes for "!to" and "!sl".
|
; fixing this supersedes two older fixes for "!to" and "!sl".
|
||||||
|
Loading…
Reference in New Issue
Block a user