Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorPhil Nash2016-11-29 11:32:16 +0000
committerPhil Nash2016-11-29 11:32:16 +0000
commit79acc0504bf62020eefbb305c948718328aebade (patch)
tree3986910666a5e47a2423ae91236e4593c33904ca /scripts
parentf9afa2a68d533bae6f9ffcc06cefec7a96c644df (diff)
downloadcatch3-79acc0504bf62020eefbb305c948718328aebade.tar.gz
Sort test ordering during Approval testing
Diffstat (limited to 'scripts')
-rw-r--r--scripts/approvalTests.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py
index 618812f8..2fe3245d 100644
--- a/scripts/approvalTests.py
+++ b/scripts/approvalTests.py
@@ -22,6 +22,7 @@ if len(sys.argv) == 2:
cmdPath = sys.argv[1]
else:
cmdPath = os.path.join( catchPath, 'projects/XCode/CatchSelfTest/DerivedData/CatchSelfTest/Build/Products/Debug/CatchSelfTest' )
+# cmdPath = os.path.join( catchPath, 'projects/CMake/cmake-build-debug/SelfTest' )
overallResult = 0
@@ -100,15 +101,15 @@ def approve( baseName, args ):
overallResult = 1
# Standard console reporter
-approve( "console.std", ["~_"] )
+approve( "console.std", ["~_", "--order", "lex"] )
# console reporter, include passes, warn about No Assertions
-approve( "console.sw", ["~_", "-s", "-w", "NoAssertions"] )
+approve( "console.sw", ["~_", "-s", "-w", "NoAssertions", "--order", "lex"] )
# console reporter, include passes, warn about No Assertions, limit failures to first 4
-approve( "console.swa4", ["~_", "-s", "-w", "NoAssertions", "-x", "4"] )
+approve( "console.swa4", ["~_", "-s", "-w", "NoAssertions", "-x", "4", "--order", "lex"] )
# junit reporter, include passes, warn about No Assertions
-approve( "junit.sw", ["~_", "-s", "-w", "NoAssertions", "-r", "junit"] )
+approve( "junit.sw", ["~_", "-s", "-w", "NoAssertions", "-r", "junit", "--order", "lex"] )
# xml reporter, include passes, warn about No Assertions
-approve( "xml.sw", ["~_", "-s", "-w", "NoAssertions", "-r", "xml"] )
+approve( "xml.sw", ["~_", "-s", "-w", "NoAssertions", "-r", "xml", "--order", "lex"] )
if overallResult != 0:
print( "run approve.py to approve new baselines" )