Add test scripts for 'Extra tests'
This commit is contained in:
parent
bb95bc9fc5
commit
4039e231a5
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
# Run like:
|
||||
# cd ~/cppcheck
|
||||
# tools/generate_and_run_more_tests.sh
|
||||
|
||||
set -e
|
||||
|
||||
echo testmemleak
|
||||
rm -rf test1
|
||||
python tools/extracttests.py --code=test1 test/testmemleak.cpp
|
||||
cd test1
|
||||
../tools/run_more_tests.sh
|
||||
cd ..
|
||||
|
||||
echo testleakautovar
|
||||
rm -rf test1
|
||||
python tools/extracttests.py --code=test1 test/testleakautovar.cpp
|
||||
cd test1
|
||||
../tools/run_more_tests.sh
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue