added test for simd crash to "make testall" and thus travis CI

This commit is contained in:
Mark Borgerding 2020-04-19 10:06:56 -04:00
parent e53d6d4bea
commit cf5813a1b4
2 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,7 @@ testall:
make -C test DATATYPE=int16_t CFLAGADD="$(CFLAGADD)" test
make -C test DATATYPE=float CFLAGADD="$(CFLAGADD)" test
make -C test DATATYPE=double CFLAGADD="$(CFLAGADD)" test
make -C test testsse
echo "all tests passed"
tarball: clean

View File

@ -67,6 +67,9 @@ tools:
test_simd: test_simd.c $(SRCFILES)
$(CC) -o $@ -g $(CFLAGS) -DUSE_SIMD=1 -msse $+ -lm
testsse: test_simd
./test_simd
$(SELFTEST): $(SELFTESTSRC) $(SRCFILES)
$(CC) -o $@ $(CFLAGS) $(TYPEFLAGS) $+ -lm