lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 05e57fd 3/3: Validate all XRC files nychtheme


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 05e57fd 3/3: Validate all XRC files nychthemerally
Date: Sat, 5 May 2018 19:09:39 -0400 (EDT)

branch: master
commit 05e57fd9ad7e8ae7f8ad97673413da595d75cc61
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Validate all XRC files nychthemerally
    
    Arguably this test should be added to 'make check_concinnity', but the
    three-quarters of a second that it takes to run militates against that.
---
 errors.sed           | 1 +
 nychthemeral_test.sh | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/errors.sed b/errors.sed
index b41ffcc..3fc3e47 100644
--- a/errors.sed
+++ b/errors.sed
@@ -44,6 +44,7 @@
 /^  *[1-9][0-9]* source files/d
 /^  *[1-9][0-9]* source lines/d
 /^  *[1-9][0-9]* marked defects/d
+/^# xrc tests/d
 /^# schema tests/d
 /^# test all valid emission types/d
 /^$/d
diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index c1acf65..035962c 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -125,6 +125,9 @@ make "$coefficiency" --output-sync=recurse cgi_tests 
cli_tests build_type=safest
 printf '\n# unit tests in libstdc++ debug mode\n\n'
 make "$coefficiency" unit_tests build_type=safestdlib 2>&1 | tee >(grep 
'\*\*\*') >(grep \?\?\?\?) >(grep '!!!!' --count | xargs printf '%d tests 
succeeded\n') >/tmp/lmi/logs/unit-tests-safestdlib
 
+printf '\n# xrc tests\n\n'
+java -jar /opt/lmi/third_party/rng/jing.jar -c xrc.rnc *.xrc 2>&1 | tee 
/tmp/lmi/logs/xrc
+
 # Run the following tests in a throwaway directory so that the files
 # they create can be cleaned up easily.
 cd /tmp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]