test: make T0 harness results complete
This commit is contained in:
18
Makefile
18
Makefile
@@ -606,7 +606,7 @@ $(BIN)/test_test_filter: test/wcc/989_test_filter.c $(BIN)/ww $(BIN)/ww_ww \
|
||||
$(BIN)/w6c $(BIN)/w6a $(BIN)/w6l \
|
||||
$(BIN)/w6c_ww $(BIN)/w6a_ww $(BIN)/w6l_ww \
|
||||
$(LIB)/libwwrt.a | $(BIN)
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
$(CC) $(CFLAGS) -Werror -o $@ $<
|
||||
|
||||
# 989_callarg_typecheck drives `ww build` + `ww test -c` then `<comp> -T`
|
||||
# on BOTH driver/compiler twins (#24 general call-arg typecheck + #34
|
||||
@@ -2740,10 +2740,13 @@ sizelint:
|
||||
peellint:
|
||||
@sh tools/peellint
|
||||
|
||||
test: all sizelint peellint $(TESTS) test-lang test-lang-byteid test-run
|
||||
test-harness: test/run test/run_test.sh
|
||||
@sh test/run_test.sh
|
||||
|
||||
test: all sizelint peellint test-harness $(TESTS) test-lang test-lang-byteid test-run
|
||||
@WW=$(BIN)/ww BIN=$(BIN) sh test/run
|
||||
|
||||
test-unit: all sizelint peellint $(TESTS)
|
||||
test-unit: all sizelint peellint test-harness $(TESTS)
|
||||
@WW=$(BIN)/ww BIN=$(BIN) UNIT=1 sh test/run
|
||||
|
||||
# ---- test-run: ww-native behavior harness (fold 2) ---------------------
|
||||
@@ -2840,12 +2843,13 @@ test-lang-byteid: all
|
||||
|
||||
# ---- test-commit: per-commit default (task #10 T1) ---------------------
|
||||
# Full suite, but content-key-SKIPS the expensive wwstage byte-id /
|
||||
# self-compile gates (950/989_lib_byteid/990-997) when their input set is
|
||||
# self-compile gates (950/989_lib_byteid/990-995/997) when their input set is
|
||||
# byte-identical to the last green run — reported as `cached`, never a
|
||||
# silent skip. NOT a substitute for the push bar: `make test` stays the
|
||||
# no-skip bootstrap gate. Cache lives in out/.testcache (gitignored, wiped
|
||||
# by `make clean`); a green `make test` primes it. See test/run.
|
||||
test-commit: all sizelint peellint $(TESTS) test-lang
|
||||
# by `make clean`); a green `make test` primes it. The host-/usr/lib dynamic
|
||||
# gate 996 always runs and is never cached. See test/run.
|
||||
test-commit: all sizelint peellint test-harness $(TESTS) test-lang
|
||||
@WW=$(BIN)/ww BIN=$(BIN) COMMIT=1 sh test/run
|
||||
|
||||
# ---- smoke: inner-loop cross-stage byte-id check on a SMALL input ------
|
||||
@@ -3028,4 +3032,4 @@ nocc:
|
||||
@echo
|
||||
@echo "NOCC OK: $(STAGE0)/* reproduces itself from source. cc not invoked."
|
||||
|
||||
.PHONY: all cstage wwstage test test-unit test-commit test-run test-lang test-lang-byteid smoke sizelint peellint install clean bootstrap nocc bootstrap-snapshot
|
||||
.PHONY: all cstage wwstage test test-unit test-commit test-harness test-run test-lang test-lang-byteid smoke sizelint peellint install clean bootstrap nocc bootstrap-snapshot
|
||||
|
||||
Reference in New Issue
Block a user