Skip to content

Commit

Permalink
Merge pull request #91 from metamath/check-discouraged
Browse files Browse the repository at this point in the history
Check discouraged
  • Loading branch information
digama0 committed Dec 29, 2016
2 parents 022deb1 + 64f6861 commit 7414a93
Show file tree
Hide file tree
Showing 2 changed files with 18,261 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ install:
- g++ -O2 -o checkmm checkmm.cpp
script:
- ./metamath 'read set.mm' 'verify proof *' 'verify markup *' exit | tee mm.log && [ `egrep -q '?Error|?Warning' < mm.log; echo $?` -eq 1 ]
# Sort "show discouraged" results to ignore benign reordering
# Regenerate "discouraged" in the same way if you *intend* for this to change
- echo 'Checking if "show discouraged" results are as expected...' && ./metamath 'read set.mm' 'set width 9999' 'show discouraged' quit | grep '^SHOW DISCOURAGED.' | sed -E -e 's/^SHOW DISCOURAGED. ?//' | LC_ALL=C sort > discouraged.new && diff -u discouraged discouraged.new
- java -Xms512M -Xmx1024M -jar mmj2.jar RunParms.txt | tee mmj2.log && [ `egrep 'Exception|.-..-[0-9]{4}' < mmj2.log | egrep -qv 'I-UT-0015'; echo $?` -eq 1 ]
- ~/.cargo/bin/smetamath --verify --split --jobs 4 --timing ./set.mm 2>&1 | tee smm.log && [ `egrep '(:Error:|:Warning:)' < smm.log; echo $?` -eq 1 ]
- ./checkmm set.mm
Loading

0 comments on commit 7414a93

Please sign in to comment.