added json unit tests

This commit is contained in:
TLINDEN
2015-07-08 23:51:40 +02:00
parent 16e4981245
commit 5301734f23
4 changed files with 266 additions and 1 deletions

View File

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