[Interest] 'help'

Axel Spoerl axel.spoerl at qt.io
Fri Sep 20 12:30:45 CEST 2024


Hi Suhas,

adding to Volker: the easiest way to run all tests is to modify your configure line to something like

../path/to/configure -developer-build -make tests

...and run it in a clean build directory. Then run ninja in the same directory. When the build is done, simply type ctest. It will run all tests (consumes some time and creates verbose output).

If "I have OFF" means, that QT_BUILD_TESTS_BY_DEFAULT=ON bounces back to OFF:
That's because the variable just toggles, whether ninja builds all tests right away or just on demand.
You need to add QT_BUILD_TESTS=ON to make sure tests are built at all. The simplified configure line mentioned above will take care of that.

Have a look at the documentation about configure options, link added below.

Cheers
Axel

https://doc.qt.io/qt-6/configure-options.html
Qt Configure Options | Qt 6.7<https://doc.qt.io/qt-6/configure-options.html>
Configuring Qt's compile options.
doc.qt.io

________________________________
Von: Interest <interest-bounces at qt-project.org> im Auftrag von Suhas Krishanamurthy <suhaskrishanamurthy2076 at outlook.com>
Gesendet: Freitag, 20. September 2024 08:52
An: interest at qt-project.org <interest at qt-project.org>
Betreff: [Interest] 'help'

Hello All,

I was trying to build the qt development source code from the code review,
I was successful able to build it and also fixed a bug in that qt source code so what my sir told is to  test this
with the ctest .

But when i was building the source code I have OFF it by giving this below command
"../configure -prefix /home/sumanhp/QtBugFix_Team/Qtbugfix -developer-build -- -DQT_BUILD_TESTS_BY_DEFAULT=ON"
can anyone help me with building this source code.

Thank You
Suhas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240920/ddaaae48/attachment.htm>


More information about the Interest mailing list