Don't provide perf binary, depend on it 31/30431/3
authorRafal Krypa <r.krypa@samsung.com>
Tue, 18 Nov 2014 10:37:34 +0000 (11:37 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Wed, 26 Nov 2014 09:48:21 +0000 (10:48 +0100)
Perf binary was provided in SLP as a work around for not having it
on the platform. This is no longer needed and harmful, because we
provided only the ARM binary, even for i686 and x86_64 builds.

Change-Id: I2157b7fd75a6ff3f713bf199d996c831a2f20673

packaging/security-tests.spec
tests/CMakeLists.txt
tests/perf [deleted file]

index edc447c..c752389 100644 (file)
@@ -29,6 +29,7 @@ BuildRequires: boost-devel
 Requires(post): gum-utils
 Requires(postun): gum-utils
 Requires(postun): %{_bindir}/id
+Requires: perf
 
 %description
 Security tests repository - for tests that can't be kept together with code.
@@ -74,7 +75,6 @@ echo "security-tests postinst done ..."
 /usr/bin/security-tests-all.sh
 /usr/bin/tests-summary.sh
 /usr/bin/test-performance-check.sh
-/usr/bin/perf
 
 /etc/dbus-1/system.d/security-tests.conf
 
index 57212c5..10d38a8 100644 (file)
@@ -81,7 +81,6 @@ INSTALL(FILES ${PROJECT_SOURCE_DIR}/tests/tests-summary.sh
 
 INSTALL(FILES
     ${PROJECT_SOURCE_DIR}/tests/test-performance-check.sh
-    ${PROJECT_SOURCE_DIR}/tests/perf
     DESTINATION bin
     PERMISSIONS OWNER_READ
                 OWNER_WRITE
diff --git a/tests/perf b/tests/perf
deleted file mode 100644 (file)
index ecebb28..0000000
Binary files a/tests/perf and /dev/null differ