Skip to content

Commit 70f3d53

Browse files
committed
Merge branch 'v2-3952_Test_Failures' of tig:tig/Terminal.Gui into v2-3952_Test_Failures
2 parents 687c685 + 3666298 commit 70f3d53

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ demo.*
6060
*.dotCover
6161

6262
logs/
63+
64+
log.*

Scripts/.testloop.sh.swp

12 KB
Binary file not shown.

Scripts/testloop.sh

100644100755
+9-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
#!/bin/bash
22

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+
38
iterationCount=1
49

510
while true; do
611
echo "Starting iteration $iterationCount..."
7-
8-
dotnet test --no-build --diag:log.txt
12+
13+
dotnet test --no-build --diag:TestResults/log.txt
914

1015
if [ $? -ne 0 ]; then
1116
echo "Test run failed on iteration $iterationCount. Exiting."
@@ -14,7 +19,7 @@ while true; do
1419

1520
# Clean up the log files
1621
rm log*
17-
22+
1823
# Increment the iteration counter
1924
((iterationCount++))
20-
done
25+
done

0 commit comments

Comments
 (0)