[Development] How to run Qt's auto-tests?
Ahumada Sergio
Sergio.Ahumada at digia.com
Sun May 26 09:56:14 CEST 2013
$ make check
or
$ TESTARGS="-silent" make check
or
$ TESTARGS=" -o result.xml,xml -o -,txt" make check
--
Sergio Ahumada
Release Engineer - Digia, Qt
________________________________________
From: development-bounces+sergio.ahumada=digia.com at qt-project.org [development-bounces+sergio.ahumada=digia.com at qt-project.org] on behalf of Sze Howe Koh [szehowe.koh at gmail.com]
Sent: Sunday, May 26, 2013 09:47
To: development at qt-project.org
Subject: [Development] How to run Qt's auto-tests?
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
_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development
More information about the Development
mailing list