Disable building tests by default 76/239876/2
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Thu, 30 Jul 2020 06:17:24 +0000 (08:17 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 4 Aug 2020 08:00:11 +0000 (10:00 +0200)
Change-Id: Ib53b90435a529a96b2db8f6ac31cc35662553467

packaging/dumpsys.spec

index 7580087..3f44e34 100644 (file)
@@ -1,6 +1,11 @@
 %define on_off() %{expand:%%{?with_%{1}:ON}%%{!?with_%{1}:OFF}}
 
+%if "%{?profile}" == "tv"
+%undefine _with_tests
+%else
 %define _with_tests on
+%endif
+
 %bcond_with tests
 
 Name:       dumpsys