$ make check

or

$ TESTARGS="-silent" make check

or 

$ TESTARGS=" -o result.xml,xml -o -,txt" make check

--
Sergio Ahumada
Release Engineer - Digia, Qt

________________________________________
From: [email protected] 
[[email protected]] on behalf of Sze 
Howe Koh [[email protected]]
Sent: Sunday, May 26, 2013 09:47
To: [email protected]
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
[email protected]
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to