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

atler atler at pld-linux.org
Wed Nov 24 22:24:23 CET 2021


commit 0fa04033b0e54be136cc737610e8b9b2e736d787
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 b254387..6062373 100644
--- a/openjdk8.spec
+++ b/openjdk8.spec
@@ -485,7 +485,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 -k 5 300 %configure \
 %ifarch x32
 	--with-jvm-variants=zero \
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjdk8.git/commitdiff/0fa04033b0e54be136cc737610e8b9b2e736d787



More information about the pld-cvs-commit mailing list