diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-11-22 11:35:17 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-11-22 12:45:35 +0000 |
commit | c68e5fc59ba8f0fd8b782a37df20ab9b7d7ecafa (patch) | |
tree | 4295a444826c3ca4be6fa895ed15a55ea38e42f8 /cmake/tests/qt_make_output_file | |
parent | bdb5e2a48ea206005eaa8305b7517b2843f2aba1 (diff) | |
download | qtbase-c68e5fc59ba8f0fd8b782a37df20ab9b7d7ecafa.tar.gz |
CMake: Add macro to generate cmake build-only tests
In addition to cmake tests that run cmake, build and then run the
tests of that project, also add a macro for tests that only run
cmake.
Use this new kind of test for the existing tests.
Change-Id: I465600974ed4114e724988b309404ccd3db2e0cb
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'cmake/tests/qt_make_output_file')
-rw-r--r-- | cmake/tests/qt_make_output_file/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/tests/qt_make_output_file/CMakeLists.txt b/cmake/tests/qt_make_output_file/CMakeLists.txt index d66579f514..3620909494 100644 --- a/cmake/tests/qt_make_output_file/CMakeLists.txt +++ b/cmake/tests/qt_make_output_file/CMakeLists.txt @@ -20,5 +20,3 @@ assert(outfile STREQUAL "/tmp/bar/__/prefix_foo.cpp") qt_make_output_file("/tmp/bar/foo.cpp" "prefix_" ".cpp" "/tmp/foo" "/tmp/bar" outfile) assert(outfile STREQUAL "/tmp/bar/prefix_foo.cpp") - -add_executable(qt_make_output_file ../main.cpp) |