[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5bda025 4/5: Redirect 'uninstall' same as oth
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5bda025 4/5: Redirect 'uninstall' same as other nychthemeral targets |
Date: |
Mon, 26 Oct 2020 16:27:19 -0400 (EDT) |
branch: master
commit 5bda02520e6b19741ca7e0fdae054a0bc19c1a9d
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Redirect 'uninstall' same as other nychthemeral targets
At least at present, 'make uninstall' is so simple that it almost
doesn't make sense to filter and redirect its output; but it makes
less sense to let its unremarkable expected output clutter the screen
when other targets' output is redirected.
---
nychthemeral_test.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index 7b053cf..19d9a2b 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -55,6 +55,10 @@ build_clutter='
/^[^ ]*windres -o /d
'
+uninstall_clutter='
+/^rm --force --recursive \/opt\/lmi\/bin$/d
+'
+
concinnity_clutter='
/.*\/test_coding_rules_test\.sh$/d
/^Testing .test_coding_rules.\.$/d
@@ -175,7 +179,8 @@ printf 'LMI_TRIPLET = "%s"\n' "$LMI_TRIPLET" > /dev/tty
cd /opt/lmi/src/lmi
-make "$coefficiency" --output-sync=recurse uninstall
+make "$coefficiency" uninstall 2>&1 \
+ | tee "$log_dir"/uninstall | sed -e "$build_clutter" -e "$uninstall_clutter"
printf '\n# test concinnity\n\n'
make "$coefficiency" check_concinnity 2>&1 \