Skip to content

Commit

Permalink
Run tests on make check
Browse files Browse the repository at this point in the history
`make check` currently only builds the tests. Marking the app as a `testcase` ensures that
the tests are actually run with `make check`.

`no_testcase_installs` prevents the test from being installed.

Docs: https://doc.qt.io/qt-5/qtest-overview.html#building-with-qmake
  • Loading branch information
principis committed Jan 21, 2024
1 parent 10ea008 commit 011dcc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ QT -= gui
CONFIG += c++11

TARGET = tests
CONFIG += console
CONFIG += testcase no_testcase_installs
CONFIG -= app_bundle

TEMPLATE = app
Expand Down

0 comments on commit 011dcc8

Please sign in to comment.