[packages/openscad/debug] show log file after test failure
atler
atler at pld-linux.org
Wed Jul 5 10:46:39 CEST 2023
commit 30938fbfc7c51006cf38a425fc3e0d7f7eec1d71
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Jul 5 09:32:39 2023 +0200
show log file after test failure
openscad.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/openscad.spec b/openscad.spec
index 9d6415b..008154c 100644
--- a/openscad.spec
+++ b/openscad.spec
@@ -166,7 +166,10 @@ export OPENSCAD_BINARY=$(pwd)/openscad
cd tests
%cmake .
%{__make}
-%{__make} -j1 test
+if ! %{__make} -j1 test; then
+ cat tests/Testing/Temporary/LastTest.log
+ exit 1
+fi
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openscad.git/commitdiff/30938fbfc7c51006cf38a425fc3e0d7f7eec1d71
More information about the pld-cvs-commit
mailing list