lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 5a1330b: Discard unwanted system-test files


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 5a1330b: Discard unwanted system-test files
Date: Tue, 19 Oct 2021 03:12:26 -0400 (EDT)

branch: master
commit 5a1330b6decab65b617bfc732833c6e00ff154d5
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Discard unwanted system-test files
    
    Almost all files produced by a system test are to be validated against
    copies maintained in a 'touchstone' directory, but these should be
    excluded:
      /opt/lmi/touchstone/regressions.tsv
      /opt/lmi/touchstone/trace.txt
    Added a command to remove them lest they spoil the simple checksum
    validation.
---
 lmi_setup_43.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lmi_setup_43.sh b/lmi_setup_43.sh
index 7423851..e833b20 100755
--- a/lmi_setup_43.sh
+++ b/lmi_setup_43.sh
@@ -117,6 +117,8 @@ make "$coefficiency" system_test 2>&1 |sed -e'/^Cannot 
open.*test/d'
 rm --force /opt/lmi/test/analysis-* /opt/lmi/test/diffs-* 
/opt/lmi/test/md5sums-*
 # ...copy the results just generated...
 cp -a /opt/lmi/test/* /opt/lmi/touchstone
+# ...discarding unwanted files...
+rm /opt/lmi/touchstone/regressions.tsv /opt/lmi/touchstone/trace.txt
 # ...and rerun the test, which should now succeed:
 make "$coefficiency" system_test
 



reply via email to

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