Permalink
Browse files

Make approval tests also check compact reporter

  • Loading branch information...
horenmar committed Dec 6, 2017
1 parent 0c122c1 commit 673dcc16a998db22e749e6c3177ec8038d5ac386
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/approvalTests.py
View
@@ -167,6 +167,8 @@ def approve(baseName, args):
print("Running approvals against executable:")
print(" " + cmdPath)
### Keep default reporters here
# Standard console reporter
approve("console.std", ["~[!nonportable]~[!benchmark]~[approvals]", "--order", "lex"])
# console reporter, include passes, warn about No Assertions
@@ -177,6 +179,8 @@ def approve(baseName, args):
approve("junit.sw", ["~[!nonportable]~[!benchmark]~[approvals]", "-s", "-w", "NoAssertions", "-r", "junit", "--order", "lex"])
# xml reporter, include passes, warn about No Assertions
approve("xml.sw", ["~[!nonportable]~[!benchmark]~[approvals]", "-s", "-w", "NoAssertions", "-r", "xml", "--order", "lex"])
# compact reporter, include passes, warn about No Assertions
approve('compact.sw', ['~[!nonportable]~[!benchmark]~[approvals]', '-s', '-w', 'NoAssertions', '-r', 'compact', '--order', 'lex'])
if overallResult != 0:
print("If these differences are expected, run approve.py to approve new baselines.")

0 comments on commit 673dcc1

Please sign in to comment.