[Development] How to run Qt's auto-tests?

Sze Howe Koh szehowe.koh at gmail.com
Sun May 26 09:47:34 CEST 2013


Hi,

What's the procedure for building and running Qt's auto-tests? I've tried:

- Running "qmake && make" in qtbase/tests/auto/testlib/selftests, and
then manually running the compiled executables. That didn't work
because some tests are designed to fail but the executables themselves
don't know that.

- Running "qmake && make" in qtbase/tests/auto, and then called "perl
test.pl [dir] W", trying different subdirectories (or ".") for [dir].
That didn't work -- no tests were found and run.


Also, can I configure + build the base libraries using "-nomake
tests", then just build + run the subset of tests that I'm interested
in?

Thanks!


Regards,
Sze-Howe



More information about the Development mailing list