From 0535815938f0ed5353592dd1e9d917eea8f6fe60ac7dc9997b6fc2f5138d1db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Feb 2015 09:56:09 +0000 Subject: [PATCH] - Disable tests on obs as they hang OBS-URL: https://build.opensuse.org/package/show/Java:packages/bouncycastle?expand=0&rev=22 --- bouncycastle.changes | 5 +++++ bouncycastle.spec | 17 +++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/bouncycastle.changes b/bouncycastle.changes index 82baf39..a7d752e 100644 --- a/bouncycastle.changes +++ b/bouncycastle.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 09:55:46 UTC 2015 - tchvatal@suse.com + +- Disable tests on obs as they hang + ------------------------------------------------------------------- Tue Feb 10 12:29:43 UTC 2015 - tchvatal@suse.com diff --git a/bouncycastle.spec b/bouncycastle.spec index e6e4692..dd1fbeb 100644 --- a/bouncycastle.spec +++ b/bouncycastle.spec @@ -105,14 +105,15 @@ install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-bcprov.pom %add_maven_depmap -a "bouncycastle:bcprov-jdk15,org.bouncycastle:bcprov-jdk16" JPP-bcprov.pom bcprov.jar %check -pushd src - export CLASSPATH=$PWD:$(build-classpath junit) - for test in $(find . -name AllTests.class) ; do - test=${test#./} ; test=${test%.class} ; test=${test//\//.} - # TODO: failures; get them fixed and remove || : - %java org.junit.runner.JUnitCore $test || : - done -popd +# Tests hang in obs, run them localy when bumping +#pushd src +# export CLASSPATH=$PWD:$(build-classpath junit) +# for test in $(find . -name AllTests.class) ; do +# test=${test#./} ; test=${test%.class} ; test=${test//\//.} +# # TODO: failures; get them fixed and remove || : +# %java org.junit.runner.JUnitCore $test || : +# done +#popd %post {