generate_and_run_more_tests.sh: Refactoring
This commit is contained in:
parent
ab1113fb16
commit
1df46140c1
|
@ -6,16 +6,8 @@
|
|||
set -e
|
||||
|
||||
echo testmemleak
|
||||
rm -rf test1
|
||||
python tools/extracttests.py --code=test1 test/testmemleak.cpp
|
||||
cd test1
|
||||
../tools/run_more_tests.sh
|
||||
cd ..
|
||||
tools/run_more_tests.sh test/testmemleak.cpp
|
||||
|
||||
echo testleakautovar
|
||||
rm -rf test1
|
||||
python tools/extracttests.py --code=test1 test/testleakautovar.cpp
|
||||
cd test1
|
||||
../tools/run_more_tests.sh
|
||||
cd ..
|
||||
tools/run_more_tests.sh test/testleakautovar.cpp
|
||||
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
|
||||
set -e
|
||||
|
||||
python tools/extracttests.py --code=test1 $1
|
||||
|
||||
cd test1
|
||||
|
||||
../cppcheck -q . 2> 1.txt
|
||||
|
||||
|
||||
|
@ -89,4 +93,6 @@ sed -ri 's/([(&][ ]*)(\-?[0-9]+)[ ]*\!=[ ]*([a-z]+)([ ]*[&)])/\1\3!=\2\4/' *.cp
|
|||
../cppcheck -q . 2> 2.txt && diff 1.txt 2.txt
|
||||
|
||||
|
||||
cd ..
|
||||
|
||||
rm -rf test1
|
||||
|
|
Loading…
Reference in New Issue