Skip to content

Commit

Permalink
add repeat test script
Browse files Browse the repository at this point in the history
  • Loading branch information
soulomoon committed May 29, 2024
1 parent 4d78c0e commit cec35a3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions repeatTest.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# recommended to build test binary separately and then run it in a loop (to avoid running cabal test in a loop)
# Run tests in a loop
for i in {1..500}; do
echo "Iteration $i" &&
HLS_TEST_LOG_STDERR=1 TASTY_PATTERN="simple-multi-def-test" cabal test ghcide-tests \
|| {
echo "Warning: error at iteration $i"
break
}; done

0 comments on commit cec35a3

Please sign in to comment.