Skip to content

Commit

Permalink
add waits
Browse files Browse the repository at this point in the history
  • Loading branch information
vasumv committed Dec 18, 2021
1 parent d41b1b9 commit 7a451f0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/getMutants.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,27 +45,28 @@ mkdir $TARGETNAME-filters
mkdir $TARGETNAME-results
mkdir $TARGETNAME-mutant-plots

N=1
N=10
for i in $(seq 1 1 $REPS)
do
((j=j%N)); ((j++==0)) && wait
fuzzZest $CLASS $FUZZMETHOD $TARGETNAME $i $TRIALS &
done
wait

N=1
N=4
for i in $(seq 1 1 $REPS)
do
((j=j%N)); ((j++==0)) && wait
fuzzMu2 $CLASS $DIFFMETHOD $INCLUDES $TARGETINCLUDES $TARGETNAME $i $TRIALS &
done
wait

N=1
N=3
for i in $(seq 1 1 $6)
do
((j=i%N)); ((j++==0)) && wait
getResults $CLASS $FUZZMETHOD $DIFFMETHOD $INCLUDES $TARGETINCLUDES $i $TARGETNAME &
done

wait

cd $CURDIR
Expand Down

0 comments on commit 7a451f0

Please sign in to comment.