Skip to content

Commit

Permalink
Modify parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgodbe committed Apr 19, 2018
1 parent a407c20 commit 74f930a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runInLoop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ run_test_in_loop()
echo "In loop $count"
echo "$1/dotnet xunit.console.netcore.exe $2 -method $3"
$1/dotnet xunit.console.netcore.exe $2 -method $3
if [[ $? != 0 ]]; then exit; fi
if [[ $? != 0 ]]; then
touch fail.txt
exit 10
fi
((count++))
done
}

for i in {1..100}
for i in {1..6}
do
run_test_in_loop $1 $2 $3 &
done
Expand Down

0 comments on commit 74f930a

Please sign in to comment.