Move tests to tools/pm3_tests.sh and add "make check" to call it

This commit is contained in:
Philippe Teuwen
2020-05-22 17:47:30 +02:00
parent aef6d7e5f2
commit 278db15f5a
6 changed files with 317 additions and 174 deletions

View File

@@ -54,9 +54,9 @@ install:
script:
- if [ "$TO_TEST" = "MAKEFILE" ]; then
make clean && make V=1 "$MAKE_PARAMS";
./pm3test.sh;
make check;
fi
- if [ "$TO_TEST" = "CMAKE" ]; then
mkdir -p client/build && ( cd client/build && cmake .. && make VERBOSE=1 );
PM3BIN=./client/build/proxmark3 ./pm3test.sh client;
make client/check CHECKARGS="--clientbin ./client/build/proxmark3";
fi