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

shane.kearns at accenture.com shane.kearns at accenture.com
Tue May 28 13:58:16 CEST 2013


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

See Sergio's response.
Note that 'make check' will stop at the first failure, and the QtNetwork tests require a test server to be set up.
See here:
https://qt.gitorious.org/qtqa/sysadmin/blobs/master/README.network_test_server.txt

Alternatively you can skip the QtNetwork tests and the few QFile related tests that use this server if you not working on this part of the code.

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

Yes you can - run qmake / make / make check in a subdirectory (e.g. tests/auto/network to run only the QtNetwork tests)


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited.

Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.

______________________________________________________________________________________

www.accenture.com




More information about the Development mailing list