aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-06 11:21:48 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-06 11:21:48 -0300
commitdd3e64c85d197858f5fb8838668386d623d25ef6 (patch)
treecad1f378279161c3897a7d75aff5cec8e6b9f707 /CMakeLists.txt
parenta086f905c9ded6f1738cd8ad657820c510a78fb6 (diff)
downloadqmenumodel-dd3e64c85d197858f5fb8838668386d623d25ef6.tar.gz
qmenumodel-dd3e64c85d197858f5fb8838668386d623d25ef6.tar.bz2
qmenumodel-dd3e64c85d197858f5fb8838668386d623d25ef6.zip
Skip tests on qemu to avoid crashes.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 261335a..eca9ed0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,8 +35,12 @@ add_subdirectory(libqmenumodel)
if(NOT DBUS_RUNNER)
message(STATUS "dbus-test-runner not found tests disabled.")
else()
- enable_testing()
- add_subdirectory(tests)
+ if(CMAKE_SYSTEM_PROCESSOR EQUAL "armv7l")
+ message(STATUS "Current version of qemu crashes during the tests. We will skip it for now.")
+ else()
+ enable_testing()
+ add_subdirectory(tests)
+ endif()
endif()
# Doc