diff options
Diffstat (limited to 'tests/auto/testlib/selftests/verbose1')
-rw-r--r-- | tests/auto/testlib/selftests/verbose1/.prev_CMakeLists.txt | 17 | ||||
-rw-r--r-- | tests/auto/testlib/selftests/verbose1/CMakeLists.txt | 18 | ||||
-rw-r--r-- | tests/auto/testlib/selftests/verbose1/verbose1.pro | 14 |
3 files changed, 9 insertions, 40 deletions
diff --git a/tests/auto/testlib/selftests/verbose1/.prev_CMakeLists.txt b/tests/auto/testlib/selftests/verbose1/.prev_CMakeLists.txt deleted file mode 100644 index bb821ab639..0000000000 --- a/tests/auto/testlib/selftests/verbose1/.prev_CMakeLists.txt +++ /dev/null @@ -1,17 +0,0 @@ -# Generated from verbose1.pro. - -##################################################################### -## verbose1 Binary: -##################################################################### - -qt_add_executable(verbose1 - SOURCES - ../counting/tst_counting.cpp - DEFINES - TESTLIB_VERBOSITY_ARG="-v1" - PUBLIC_LIBRARIES - Qt::Test -) - -## Scopes: -##################################################################### diff --git a/tests/auto/testlib/selftests/verbose1/CMakeLists.txt b/tests/auto/testlib/selftests/verbose1/CMakeLists.txt index 2a827d4247..2c644dff92 100644 --- a/tests/auto/testlib/selftests/verbose1/CMakeLists.txt +++ b/tests/auto/testlib/selftests/verbose1/CMakeLists.txt @@ -1,23 +1,23 @@ -# Generated from verbose1.pro. +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause ##################################################################### ## verbose1 Binary: ##################################################################### -qt_add_executable(verbose1 - NO_INSTALL # special case - OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case +qt_internal_add_executable(verbose1 + NO_INSTALL + EXCEPTIONS + OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} SOURCES ../counting/tst_counting.cpp DEFINES - TESTLIB_VERBOSITY_ARG=-v1 # special case remove quotes - PUBLIC_LIBRARIES + TESTLIB_VERBOSITY_ARG=-v1 + LIBRARIES Qt::Test ) ## Scopes: ##################################################################### -# special case begin -qt_apply_testlib_coverage_options(verbose1) -# special case end +qt_internal_apply_testlib_coverage_options(verbose1) diff --git a/tests/auto/testlib/selftests/verbose1/verbose1.pro b/tests/auto/testlib/selftests/verbose1/verbose1.pro deleted file mode 100644 index f50ce83ea6..0000000000 --- a/tests/auto/testlib/selftests/verbose1/verbose1.pro +++ /dev/null @@ -1,14 +0,0 @@ -# This test just reuses the counting selftest to show how the output -# differs when the -v1 command-line switch is used. - -SOURCES += ../counting/tst_counting.cpp -QT = core testlib - -DEFINES += TESTLIB_VERBOSITY_ARG="-v1" - -mac:CONFIG -= app_bundle -CONFIG -= debug_and_release_target - -TARGET = verbose1 - -include($$QT_SOURCE_TREE/src/testlib/selfcover.pri) |