2015-07-22 13:07:17 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# Run like:
|
|
|
|
# cd ~/cppcheck
|
|
|
|
# tools/generate_and_run_more_tests.sh
|
|
|
|
|
2021-10-30 22:13:58 +02:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
2015-07-22 13:07:17 +02:00
|
|
|
set -e
|
|
|
|
|
2015-07-22 18:17:04 +02:00
|
|
|
echo testleakautovar
|
2021-10-30 22:13:58 +02:00
|
|
|
$DIR/run_more_tests.sh $DIR/../test/testleakautovar.cpp
|
2015-07-22 18:17:04 +02:00
|
|
|
|
2015-07-22 13:07:17 +02:00
|
|
|
echo testmemleak
|
2021-10-30 22:13:58 +02:00
|
|
|
$DIR/run_more_tests.sh $DIR/../test/testmemleak.cpp
|
2015-07-22 13:07:17 +02:00
|
|
|
|
2015-07-22 18:17:04 +02:00
|
|
|
echo testnullpointer
|
2021-10-30 22:13:58 +02:00
|
|
|
$DIR/run_more_tests.sh $DIR/../test/testnullpointer.cpp
|
2015-07-22 13:07:17 +02:00
|
|
|
|
2015-07-26 11:29:02 +02:00
|
|
|
echo testuninitvar
|
2021-10-30 22:13:58 +02:00
|
|
|
$DIR/run_more_tests.sh $DIR/../test/testuninitvar.cpp
|
2015-07-26 11:29:02 +02:00
|
|
|
|