emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/rust-mode 5375e54 454/486: Test byte compilation of test c


From: ELPA Syncer
Subject: [nongnu] elpa/rust-mode 5375e54 454/486: Test byte compilation of test code.
Date: Sat, 7 Aug 2021 09:26:13 -0400 (EDT)

branch: elpa/rust-mode
commit 5375e54904dac5e431bd27cd6ebb91c725a26c50
Author: Nathan Moreau <nathan.moreau@m4x.org>
Commit: Nathan Moreau <nathan.moreau@m4x.org>

    Test byte compilation of test code.
---
 run_rust_emacs_tests.sh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/run_rust_emacs_tests.sh b/run_rust_emacs_tests.sh
index ac5e3dc..600ad4d 100755
--- a/run_rust_emacs_tests.sh
+++ b/run_rust_emacs_tests.sh
@@ -40,4 +40,13 @@ else
     echo "Byte-compilation passed."
 fi
 
+warnings="$( $EMACS -Q -batch -l rust-mode.el -f batch-byte-compile 
rust-mode-tests.el 2>&1 | grep -v '^Wrote ' )"
+if [ -n "$warnings" ]; then
+    echo "Byte-compilation failed:"
+    echo "$warnings"
+    exit 4
+else
+    echo "Byte-compilation of test file passed."
+fi
+
 $EMACS -batch -l rust-mode.el -l rust-mode-tests.el -f 
ert-run-tests-batch-and-exit



reply via email to

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