Skip to content
Snippets Groups Projects
Commit 4886c09c authored by an7s's avatar an7s
Browse files

use own version of cb-test to speed things up

Former-commit-id: 0b73d1c5c49d77e368b5f0bfd6ac5a6f2d84bf9c
parent a7583fba
No related branches found
No related tags found
Loading
......@@ -13,6 +13,8 @@ CSO_FILE=$4 # output: CSO warning file suitable for sandboxing step
log=tmp.log.$$
cbtest=$CGC_UMBRELLA_DIR/scripts/techx-cb-test
CRASH_SITES=tmp.crashes.$$
# run cb-test on each POV invidually
......@@ -27,12 +29,12 @@ do
core=${binary_dir}/core
sudo rm $core 2>/dev/null
sudo cb-test --debug --xml ${one_pov} --timeout 20 --directory ${binary_dir} --cb ${binary} --log $log
sudo $cbtest --debug --xml ${one_pov} --timeout 20 --directory ${binary_dir} --cb ${binary} --log $log
grep "core identified" $log
if [ $? -eq 0 ]; then
if [ -f $core ]; then
sudo chown `whoami` $core
eip=`$PEASOUP_HOME/tools/extract_eip_from_core.sh ${CGC_BIN} $core`
eip=`timeout 20 $PEASOUP_HOME/tools/extract_eip_from_core.sh ${CGC_BIN} $core`
if [ $? -eq 0 ]; then
echo "$eip" >> $CRASH_SITES
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment