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:
Phil Hord 2015-07-14 16:48:17 -04:00 committed by Markus Hitter
parent 6c7133792e
commit a3e956e70b
1 changed files with 2 additions and 1 deletions

View File

@ -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/