Skip to content
Snippets Groups Projects
Commit 6eb671f0 authored by jdh8d's avatar jdh8d
Browse files

Broken version being committed, so will can commit his broken version so we...

Broken version being committed, so will can commit his broken version so we can both finish our hacking without dealing with repo conflicts.

Former-commit-id: 617441b93a4eb9c1dc25acfca88fdbbfd21447cc
parent 4ce504af
No related branches found
No related tags found
No related merge requests found
......@@ -18,21 +18,36 @@ for seq in $(seq 0 $(expr $variants - 1) )
do
sharepath_key="$seq:$variants:dir://$share_path "
zipr_env="ZIPR_VARID=$sharepath_key"
p1options=" --step-option p1transform:--canary_value --step-option p1transform:0xFF0${seq}${seq}0FF --step-option p1transform:--random_seed --step-option p1transform:$anyseed "
cmd=" PG_DATABASE=peasoup_`whoami`_$seq $PEASOUP_HOME/tools/ps_analyze.sh $in $out.v$seq $@ $p1options > peasoup.v$seq 2>&1 &"
cmd=" PG_DATABASE=peasoup_`whoami`_$seq $zipr_env $PEASOUP_HOME/tools/ps_analyze.sh $in $out.v$seq $@ $p1options > peasoup.v$seq 2>&1 &"
echo $cmd
eval $cmd
pids="$pids $!"
done
ok=1
for i in $pids;
do
wait $i
exit_code=$?
if [ $exit_code != 0 ]; then
echo "Peasoup process $i failed with excode code: $exit_code."
ok=0
fi
done
exit 0
if [ $ok = 1 ] ; then
echo "Successfully generated $variants variants"
exit 0
else
echo
echo
echo "Some variants failed"
echo
echo
exit 1
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