lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master f84e4c5 1/2: Test concinnity first


From: Greg Chicares
Subject: [lmi-commits] [lmi] master f84e4c5 1/2: Test concinnity first
Date: Tue, 24 Apr 2018 19:10:40 -0400 (EDT)

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

    Test concinnity first
    
    The test for concinnity is fast, and the pre-commit hook requires it to
    pass, so it makes sense to run it first.
---
 nychthemeral_test.sh | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index 7da6757..033edf2 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -54,6 +54,11 @@ build_clutter='
 /^[^ ]*windres -o /d
 '
 
+concinnity_clutter='
+/.*\/test_coding_rules_test\.sh$/d
+/^Testing .test_coding_rules.\.$/d
+'
+
 install_clutter='
 /^Generating product files.$/d
 /^All product files written.$/d
@@ -70,16 +75,14 @@ cli_cgi_clutter='
 /^  0 errors$/d
 '
 
-concinnity_clutter='
-/.*\/test_coding_rules_test\.sh$/d
-/^Testing .test_coding_rules.\.$/d
-'
-
 # Directory for test logs.
 mkdir --parents /tmp/lmi/logs
 
 cd /opt/lmi/src/lmi
 
+printf '\n# test concinnity\n\n'
+make "$coefficiency" check_concinnity 2>&1 | sed -e "$build_clutter" -e 
"$concinnity_clutter"
+
 printf '# install; check physical closure\n\n'
 make "$coefficiency" install check_physical_closure 2>&1 | tee 
/tmp/lmi/logs/install | sed -e "$build_clutter" -e "$install_clutter"
 
@@ -103,9 +106,6 @@ 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# test concinnity\n\n'
-make "$coefficiency" check_concinnity 2>&1 | sed -e "$build_clutter" -e 
"$concinnity_clutter"
-
 # 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]