mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
improved testing scheme
This commit is contained in:
parent
b5f5948097
commit
ae658f23f4
4 changed files with 7 additions and 7 deletions
3
tests/.gitignore
vendored
3
tests/.gitignore
vendored
|
|
@ -1,2 +1 @@
|
|||
kahan
|
||||
crc
|
||||
*_test
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
|
||||
CXXFLAGS = -I.. -std=c++11 -W -Wall -O3 -march=native -ffast-math
|
||||
CXXFLAGS = -I.. -std=c++17 -W -Wall -Ofast -fno-exceptions -fno-rtti -march=native
|
||||
CXX = clang++ -stdlib=libc++
|
||||
#CXX = g++
|
||||
|
||||
.PHONY: clean test
|
||||
|
||||
test: kahan crc
|
||||
./kahan
|
||||
./crc
|
||||
tests := $(basename $(wildcard *_test.*))
|
||||
|
||||
test: $(tests)
|
||||
$(patsubst %,./%;,$(tests))
|
||||
|
||||
clean:
|
||||
rm -f kahan crc
|
||||
rm -f *_test
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue