summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2023-03-09 11:12:19 +0100
committerArnstein Ressem <aressem@yahooinc.com>2023-03-09 11:12:19 +0100
commitea5002bdc61fac14f22050bf3f4321789176e3c0 (patch)
tree14299518642750f0227d9c45273e169dd7848c52 /dist
parent7284e71d05812bd972429a112bd49fd80a6939d3 (diff)
Run unit tests as part of rpmbuild as this takes 2 minutes on Copr.
Diffstat (limited to 'dist')
-rw-r--r--dist/vespa.spec2
1 files changed, 0 insertions, 2 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec
index 79778d6028d..809259ebdca 100644
--- a/dist/vespa.spec
+++ b/dist/vespa.spec
@@ -467,7 +467,6 @@ VERSION=%{version} CI=true make -C client/go install-all
%check
%if ! 0%{?installdir:1}
-%if 0%{?_run_unit_tests:1}
%if 0%{?_java_home:1}
export JAVA_HOME=%{?_java_home}
%else
@@ -481,7 +480,6 @@ export PYTHONPATH="$PYTHONPATH:/usr/local/lib/$(basename $(readlink -f $(which p
#%{?_use_mvn_wrapper:./mvnw}%{!?_use_mvn_wrapper:mvn} --batch-mode -nsu -T 1C -Dmaven.javadoc.skip=true test
make test ARGS="--output-on-failure %{_smp_mflags}"
%endif
-%endif
%install
rm -rf %{buildroot}