Regressiontests: give SIM a "standard" config.
We should not fail the regression test if the user's config is missing or misconfigured. Also turn on -Werror for simulator validation, too. This might be a bit presumptuous since we are dependent on the user's installed gcc instance; but we already depending on him to be able to build the simulator at all, so this doesn't seem to be too much of a stretch.
This commit is contained in:
parent
6c7133792e
commit
a3e956e70b
|
|
@ -127,7 +127,8 @@ regressiontests:
|
|||
$(MAKE) -f Makefile-AVR USER_CONFIG=testcases/config.regtest-teensy2.h \
|
||||
MCU=atmega32u4 F_CPU=16000000UL EXTRA_CFLAGS=-Werror all
|
||||
# Don't forget the hostside simulator.
|
||||
$(MAKE) -f Makefile-SIM all
|
||||
$(MAKE) -f Makefile-SIM USER_CONFIG=testcases/config.regtest-gen7.h \
|
||||
EXTRA_CFLAGS=-Werror all
|
||||
@# Nonstandard builds go into a subdirectory of build/, see definition of
|
||||
@# $(BUILDDIR) above. Let's clean that up on success.
|
||||
rm -rf $(BUILDDIR)/testcases/ $(BUILDDIR)/sim/
|
||||
|
|
|
|||
Loading…
Reference in New Issue