Run java as smoke test to find problems early
authorJacek Konieczny <jajcus@jajcus.net>
Wed, 10 Aug 2016 09:09:36 +0000 (11:09 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Wed, 10 Aug 2016 09:09:36 +0000 (11:09 +0200)
Otherwise broken build with fail on cacerts generation, which might be
confusing.

openjdk8.spec

index e522979b977004e1d3fe07ccd74d29c83bdab750..fc4115a2ee26996fd2b8c650fd9c20697a824b23 100644 (file)
@@ -482,6 +482,9 @@ EOF
        LIBHPROF_OPTIMIZATION=LOW \
        LIBVERIFY_OPTIMIZATION=LOW
 
        LIBHPROF_OPTIMIZATION=LOW \
        LIBVERIFY_OPTIMIZATION=LOW
 
+# smoke test
+tmp-bin/java -version
+
 export PATH="$(pwd)/build-bin:$PATH"
 %{?with_cacerts:%{__sh} %{SOURCE10}}
 
 export PATH="$(pwd)/build-bin:$PATH"
 %{?with_cacerts:%{__sh} %{SOURCE10}}
 
This page took 0.071553 seconds and 4 git commands to generate.