diff options
author | David Shah <dave@ds0.me> | 2019-03-23 20:51:24 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-03-23 20:51:24 +0000 |
commit | 32a683071758ee59d47e2c5cb29c87882993facd (patch) | |
tree | 497bc32ed44fd3fe54920265b931c758897534d6 /ice40/regressions | |
parent | d3ff834a116a92e134c423971807ed1f07f1138a (diff) | |
download | nextpnr-tests-32a683071758ee59d47e2c5cb29c87882993facd.tar.gz nextpnr-tests-32a683071758ee59d47e2c5cb29c87882993facd.tar.bz2 nextpnr-tests-32a683071758ee59d47e2c5cb29c87882993facd.zip |
Allow waiving test success with a WAIVE file
Diffstat (limited to 'ice40/regressions')
-rw-r--r-- | ice40/regressions/Makefile | 8 | ||||
-rw-r--r-- | ice40/regressions/issue0116/WAIVE | 0 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ice40/regressions/Makefile b/ice40/regressions/Makefile index 00243f8..2e961fe 100644 --- a/ice40/regressions/Makefile +++ b/ice40/regressions/Makefile @@ -23,8 +23,12 @@ endif gzip -dk $< $(JSON_OUTPUT): %_postpnr.v: %.json $(wildcard %.pcf) $(wildcard %.npnr) $(NPNR) - $(NPNR) --json $*.json --asc $*.asc $(if $(wildcard $*.pcf),--pcf $*.pcf,) $(if $(wildcard $*.npnr),$(shell cat $*.npnr),) > /dev/null 2>&1 - icebox_vlog $*.asc > $@ + $(NPNR) --json $*.json --asc $*.asc $(if $(wildcard $*.pcf),--pcf $*.pcf,) $(if $(wildcard $*.npnr),$(shell cat $*.npnr),) > /dev/null 2>&1 || test -f $(dir $*)WAIVE + if [ ! -f $(dir $*)WAIVE ]; then \ + icebox_vlog $*.asc > $@; \ + else \ + touch $@; \ + fi $(SH_OUTPUT): %_postpnr.v: %.sh $(NPNR) gzip -dk $*.json.gz diff --git a/ice40/regressions/issue0116/WAIVE b/ice40/regressions/issue0116/WAIVE new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ice40/regressions/issue0116/WAIVE |