[packages/openjdk8/test] kill configure if it hangs (for testing only)

atler atler at pld-linux.org
Wed Nov 24 14:47:40 CET 2021


commit 481fa951318fcbef27fd85f59709dda7bcfa5d52
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Nov 24 14:45:59 2021 +0100

    kill configure if it hangs (for testing only)

 openjdk8.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openjdk8.spec b/openjdk8.spec
index a4aa4f2..b8615ea 100644
--- a/openjdk8.spec
+++ b/openjdk8.spec
@@ -477,7 +477,7 @@ export SHELL=/bin/bash
 chmod a+x configure
 
 # disable-debug-symbols so openjdk debuginfo handling won't conflict with ours
-%configure \
+/usr/bin/timeout 300 %configure \
 %ifarch x32
 	--with-jvm-variants=zero \
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk8.git/commitdiff/481fa951318fcbef27fd85f59709dda7bcfa5d52



More information about the pld-cvs-commit mailing list