We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 687c685 + 3666298 commit 70f3d53Copy full SHA for 70f3d53
.gitignore
@@ -60,3 +60,5 @@ demo.*
60
*.dotCover
61
62
logs/
63
+
64
+log.*
Scripts/.testloop.sh.swp
12 KB
Scripts/testloop.sh
100644
100755
@@ -1,11 +1,16 @@
1
#!/bin/bash
2
3
+# This script runs the tests in a loop until they all pass.
4
+# It will exit if any test run fails.
5
6
+dotnet build -c Debug
7
8
iterationCount=1
9
10
while true; do
11
echo "Starting iteration $iterationCount..."
-
- dotnet test --no-build --diag:log.txt
12
13
+ dotnet test --no-build --diag:TestResults/log.txt
14
15
if [ $? -ne 0 ]; then
16
echo "Test run failed on iteration $iterationCount. Exiting."
@@ -14,7 +19,7 @@ while true; do
19
20
# Clean up the log files
21
rm log*
17
22
18
23
# Increment the iteration counter
24
((iterationCount++))
-done
25
+done
0 commit comments