mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 04:10:57 +01:00
added json unit tests
This commit is contained in:
@@ -24,6 +24,10 @@ if BUILDCPP
|
||||
CPPTEST=cpptest
|
||||
endif
|
||||
|
||||
if BUILDJSON
|
||||
MAYJSON=jsontest
|
||||
endif
|
||||
|
||||
AM_CFLAGS = -I../include/pcp -I../src -I../libpcp/scrypt/crypto
|
||||
check_PROGRAMS = invalidkeys gencheader statictest $(CPPTEST) \
|
||||
buffertest sample streamtest pipetest decodertest mangle
|
||||
@@ -83,7 +87,10 @@ if BUILDPY
|
||||
MAYPY=pytest
|
||||
endif
|
||||
|
||||
test: check ctest $(MAYPY) $(MAYCPP)
|
||||
et:
|
||||
@echo check ctest $(MAYPY) $(MAYCPP) $(MAYJSON)
|
||||
|
||||
test: check ctest $(MAYPY) $(MAYCPP) $(MAYJSON)
|
||||
|
||||
ctest:
|
||||
rm -f test* v* stresstest/*
|
||||
@@ -96,6 +103,9 @@ pytest:
|
||||
docpptest:
|
||||
./unittests.pl cppunittests.cfg $(CHECK)
|
||||
|
||||
jsontest:
|
||||
./unittests.pl jsonunittests.cfg $(CHECK)
|
||||
|
||||
stresstest: check
|
||||
./unittests.pl stresstests.cfg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user