Created
July 31, 2013 10:55
-
-
Save past/6121114 to your computer and use it in GitHub Desktop.
Run a test until it fails in order to reproduce an intermittent test failure.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Change MOZCONFIG to point to a different build configuration or comment it out to use the default. | |
export MOZCONFIG=.mozconfig-opt | |
declare -i count=0 | |
result=0 | |
while [ $result -eq 0 ] | |
do | |
# Modify the next line to specify the exact mach invocation that should be tried. | |
mach mochitest-browser browser/devtools/debugger/test/browser_dbg_event-listeners.js | |
#mach xpcshell-test -d toolkit/devtools/server/tests/unit/test_dbgsocket.js | |
result=$? | |
count+=1 | |
done | |
echo "Intermittent failure after $count runs." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment