qt5base-lts/tests/auto/selftests
Jason McDonald f0d7e705ee Remove XFAIL from selftests for some platforms
The selftest for assert messages calls QEXPECT_FAIL if the assert
message doesn't exactly match the expected output.  This is because
Q_ASSERT uses __FILE__, which is compiler-dependant.

The expected output for this test contains various hard-coded unix
paths meaning that the test never passes on any platform.  This commit
removes those paths from the test data so that the test passes for
compilers that don't put path information in __FILE__.  This commit also
makes the XFAIL message more accurate -- absolute paths in assert
messages don't come from QTestLib, they come from Q_ASSERT's use of
__FILE__.

Change-Id: I9aae212379b43a29ae83715717cc978b4b619420
Reviewed-on: http://codereview.qt.nokia.com/3908
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2011-08-31 13:12:43 +02:00
..
alive tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
assert tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
badxml tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
benchlibcallgrind tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
benchlibeventcounter tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
benchliboptions tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
benchlibtickcounter tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
benchlibwalltime tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
cmptest tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
commandlinedata tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
crashes tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
datatable tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
datetime tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
differentexec tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
exceptionthrow tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
expectfail tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
failinit tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
failinitdata tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
fetchbogus tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
globaldata tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
longstring tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
maxwarnings tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
multiexec tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
qexecstringlist tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
singleskip tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
skip tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
skipglobal tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
skipinit tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
skipinitdata tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
sleep tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
strcmp tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
subtest tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
test tests: fix private header inclusion in qtbase autotests 2011-05-11 17:04:19 +10:00
waitwithoutgui tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
warnings tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
xunit tests: do not run the testlib selftest helpers during `make check' 2011-07-19 13:11:40 +02:00
.gitignore Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_alive.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_assert.lightxml Remove XFAIL from selftests for some platforms 2011-08-31 13:12:43 +02:00
expected_assert.txt Remove XFAIL from selftests for some platforms 2011-08-31 13:12:43 +02:00
expected_assert.xml Remove XFAIL from selftests for some platforms 2011-08-31 13:12:43 +02:00
expected_assert.xunitxml Remove XFAIL from selftests for some platforms 2011-08-31 13:12:43 +02:00
expected_badxml.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_badxml.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_badxml.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_badxml.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibcallgrind.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_benchlibcallgrind.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibcallgrind.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibcallgrind.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibeventcounter.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_benchlibeventcounter.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibeventcounter.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibeventcounter.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchliboptions.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_benchliboptions.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchliboptions.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchliboptions.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibtickcounter.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_benchlibtickcounter.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibtickcounter.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibtickcounter.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibwalltime.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_benchlibwalltime.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibwalltime.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_benchlibwalltime.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_cmptest.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_cmptest.txt Updated version references in autotests 2011-05-13 15:38:50 +03:00
expected_cmptest.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_cmptest.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_commandlinedata.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_commandlinedata.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_commandlinedata.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_commandlinedata.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_crashes_1.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_crashes_2.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_crashes_3.txt Updated version references in autotests 2011-05-13 15:38:50 +03:00
expected_crashes.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_crashes.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_crashes.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_datatable.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_datatable.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_datatable.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_datatable.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_datetime.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_datetime.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_datetime.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_datetime.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_differentexec.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_exceptionthrow.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_exceptionthrow.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_exceptionthrow.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_exceptionthrow.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_expectfail.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_expectfail.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_expectfail.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_expectfail.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_failinit.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_failinit.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_failinit.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_failinit.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_failinitdata.lightxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_failinitdata.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_failinitdata.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_failinitdata.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_fatal.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_fetchbogus.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_fetchbogus.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_fetchbogus.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_fetchbogus.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_globaldata.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_globaldata.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_globaldata.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_globaldata.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_longstring.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_longstring.txt Updated version references in autotests 2011-05-13 15:38:50 +03:00
expected_longstring.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_longstring.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_maxwarnings.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_maxwarnings.txt Updated version references in autotests 2011-05-13 15:38:50 +03:00
expected_maxwarnings.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_maxwarnings.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_multiexec.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_multiexec.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_multiexec.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_multiexec.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_qexecstringlist.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_singleskip.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_singleskip.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_singleskip.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_singleskip.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skip.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_skip.txt Updated version references in autotests 2011-05-13 15:38:50 +03:00
expected_skip.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skip.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipglobal.lightxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipglobal.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipglobal.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipglobal.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipinit.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_skipinit.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipinit.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipinit.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipinitdata.lightxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipinitdata.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipinitdata.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_skipinitdata.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_sleep.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_sleep.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_sleep.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_sleep.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_strcmp.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_strcmp.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_strcmp.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_strcmp.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_subtest.lightxml Make lightxml and xml log formatting consistent 2011-08-31 07:39:54 +02:00
expected_subtest.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_subtest.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_subtest.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_waitwithoutgui.lightxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_waitwithoutgui.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_waitwithoutgui.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_waitwithoutgui.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_warnings.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_warnings.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_warnings.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_warnings.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_xunit.lightxml Fix errors in lightxml test logger 2011-08-31 07:40:06 +02:00
expected_xunit.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_xunit.xml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
expected_xunit.xunitxml Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
selftests.pro Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
selftests.qrc Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tst_selftests.cpp Remove XFAIL from selftests for some platforms 2011-08-31 13:12:43 +02:00