From 84fc8770e9a2374d301e7329fc268ba7f5dd99b8 Mon Sep 17 00:00:00 2001 From: Arseniy Shestakov Date: Fri, 30 Sep 2016 01:09:09 +0300 Subject: [PATCH] Disable tests for Deb and RPM packages --- debian/rules | 2 +- rpm/vcmi.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index f3b8dfbc6..a0ba4f819 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ # override disabled by default rpath - we need to find libvcmi.so with it: override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBIN_DIR=games + dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBIN_DIR=games -DENABLE_TEST=0 .PHONY: override_dh_strip override_dh_strip: dh_strip --dbg-package=vcmi-dbg diff --git a/rpm/vcmi.spec b/rpm/vcmi.spec index 50790a1b9..1e6a913c3 100644 --- a/rpm/vcmi.spec +++ b/rpm/vcmi.spec @@ -41,7 +41,7 @@ VCMI is an open-source project aiming to reimplement HoMM3 game engine, giving i %setup -q -n %{name}-%{version}-1 %build -cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr ./ +cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_TEST=0 ./ make %{?_smp_mflags} %install