🚧 splitting tests into several binaries
This commit is contained in:
parent
a791af30b4
commit
e1f98fbfc0
4 changed files with 41 additions and 65 deletions
14
Makefile
14
Makefile
|
@ -5,7 +5,8 @@ RE2C = re2c
|
|||
SED = sed
|
||||
|
||||
# main target
|
||||
all: json_unit
|
||||
all:
|
||||
$(MAKE) -C test
|
||||
|
||||
# clean up
|
||||
clean:
|
||||
|
@ -21,14 +22,14 @@ clean:
|
|||
|
||||
# build unit tests
|
||||
json_unit:
|
||||
@$(MAKE) -C test
|
||||
@$(MAKE) json_unit -C test
|
||||
|
||||
# run unit tests
|
||||
check: json_unit
|
||||
test/json_unit "*"
|
||||
check:
|
||||
$(MAKE) check -C test
|
||||
|
||||
check-fast: json_unit
|
||||
test/json_unit
|
||||
check-fast:
|
||||
$(MAKE) check -C test TEST_PATTERN=""
|
||||
|
||||
|
||||
##########################################################################
|
||||
|
@ -69,6 +70,7 @@ cppcheck:
|
|||
clang_sanitize: clean
|
||||
CXX=clang++ CXXFLAGS="-g -O2 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer" $(MAKE)
|
||||
|
||||
|
||||
##########################################################################
|
||||
# maintainer targets
|
||||
##########################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue