From 16b3132da9877878562fcc7b05d51ff1f698fadc Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Mon, 20 Oct 2014 13:50:04 +0800 Subject: [PATCH] Issue #50, Add a dummy unittest for cmake to make Qt5.3.2 happy The error is caused by Qt base SHA: c2c90b95bf8304e69a5f0a586c607105cc104f83 --- tests/auto/auto.pro | 3 ++- tests/auto/cmake/CMakeLists.txt | 9 +++++++++ tests/auto/cmake/cmake.pro | 7 +++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/auto/cmake/CMakeLists.txt create mode 100644 tests/auto/cmake/cmake.pro diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index 73c3547..7e2c4f4 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -12,4 +12,5 @@ SUBDIRS=\ format \ richstring \ xlsxconditionalformatting \ - cellreference + cellreference \ + cmake diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt new file mode 100644 index 0000000..faa9573 --- /dev/null +++ b/tests/auto/cmake/CMakeLists.txt @@ -0,0 +1,9 @@ + +cmake_minimum_required(VERSION 2.8) + +project(qmake_cmake_files) + +enable_testing() + +add_test(dummy ${CMAKE_COMMAND} -E echo) + diff --git a/tests/auto/cmake/cmake.pro b/tests/auto/cmake/cmake.pro new file mode 100644 index 0000000..21c7f4b --- /dev/null +++ b/tests/auto/cmake/cmake.pro @@ -0,0 +1,7 @@ + +# Cause make to do nothing. +TEMPLATE = subdirs + +CMAKE_QT_MODULES_UNDER_TEST = xlsx + +CONFIG += ctest_testcase