[Top][All Lists]

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

[lmi-commits] [lmi] master 123e8cf 1/3: Show filtered output of 'test_sc

From: Greg Chicares
Subject: [lmi-commits] [lmi] master 123e8cf 1/3: Show filtered output of 'test_schemata.sh'
Date: Sat, 5 May 2018 19:09:39 -0400 (EDT)

branch: master
commit 123e8cf7932fdf8cd9b1a26002fbc21db13cb016
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Show filtered output of 'test_schemata.sh'
    Formerly, all 'test_schemata.sh' output was merely written to a log,
    and no attention was drawn to any unexpected output. Now any defects
    discovered by that script are shown on the console.
 nychthemeral_test.sh | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index 365b051..c1acf65 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -75,6 +75,25 @@ cli_cgi_clutter='
 /^  0 errors$/d
+/^  Test schemata\.\.\.$/d
+/^  Test RNC files with .jing.\.$/d
+/^  Test XSD files with .jing.\.$/d
+/^  Test XSD files with .xmllint.\.$/d
+/^sample\.cns validates$/d
+/^sample\.ill validates$/d
+/^  Generate RNG from RNC with .trang.\.$/d
+/^  Test RNG files with .jing.\.$/d
+/^  Test RNG files with .xmllint.\.$/d
+/^sample\.cns validates$/d
+/^sample\.ill validates$/d
+/^  Test invalid input\.\.\.$/d
+/^  Test invalid input: .\.cns.\.$/d
+/^  Test invalid input: .\.ill.\.$/d
+/^  Regenerate XSD files as they should appear in the repository\.$/d
+/^  Done\.$/d
 # Directory for test logs.
 mkdir --parents /tmp/lmi/logs
@@ -124,7 +143,7 @@ printf '\n# test all valid emission types\n\n'
 "$PERFORM" /opt/lmi/bin/lmi_cli_shared --file=/tmp/lmi/tmp/sample.cns --accept 
--ash_nazg --data_path=/opt/lmi/data 
 printf '\n# schema tests\n\n'
-/opt/lmi/src/lmi/test_schemata.sh >/tmp/lmi/logs/schemata  2>&1
+/opt/lmi/src/lmi/test_schemata.sh 2>&1 | tee /tmp/lmi/logs/schemata | sed -e 
 # Clean up stray output. (The zsh '(N)' glob qualifier turns on
 # null_glob for a single expansion.)

reply via email to

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