From: Jacek Konieczny Date: Wed, 10 Aug 2016 09:09:36 +0000 (+0200) Subject: Run java as smoke test to find problems early X-Git-Tag: auto/th/openjdk9-9.0.4.12-1~8 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fopenjdk9.git;a=commitdiff_plain;h=052665c Run java as smoke test to find problems early Otherwise broken build with fail on cacerts generation, which might be confusing. --- diff --git a/openjdk8.spec b/openjdk8.spec index e522979..fc4115a 100644 --- a/openjdk8.spec +++ b/openjdk8.spec @@ -482,6 +482,9 @@ EOF LIBHPROF_OPTIMIZATION=LOW \ LIBVERIFY_OPTIMIZATION=LOW +# smoke test +tmp-bin/java -version + export PATH="$(pwd)/build-bin:$PATH" %{?with_cacerts:%{__sh} %{SOURCE10}}