qt5base-lts/tests/auto
Jason McDonald 51589e834e Allow tests to log to multiple destinations
Each destination and the format of output to write there is specified by
adding "-o filename,format" to the command-line.  The special filename
"-" indicates that the log output is written to the standard output
stream, though standard output can be used as a destination at most
once.

The old-style testlib output options are still supported, but can only
be used to specify one logging destination, as before.

If no logging options are given on the command-line, a plain text log
will go to the console, as before.

To log to the console in plain text and to the file "test_output" in
xunit format, one would invoke a test in the following way:

    tst_foo -o test_output,xunitxml -o -,txt

This commit also enhances the selftests to test with multiple loggers,
but negative tests (e.g. bad combinations of command-line options) are
left for future task QTBUG-21567.

Task-number: QTBUG-20615
Change-Id: If91e752bc7001657e15e427aba9d25ab0a29a0b0
Reviewed-on: http://codereview.qt-project.org/4125
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2011-09-23 00:34:23 +02:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
collections Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
compilerwarnings/data Remove uilib and QtUiTools from QtBase 2011-09-13 20:11:40 +02:00
corelib This test passes fine. 2011-09-20 19:18:19 +02:00
dbus This passes just fine 2011-09-20 21:57:18 +02:00
exceptionsafety Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
exceptionsafety_objects Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
gestures Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
gui Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
lancelot Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
languagechange Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
macgui Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
macnativeevents Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
macplist Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
modeltest Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
network Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
networkselftest Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
opengl Moved autotests in category 'opengl' into new directory structure 2011-09-09 10:32:38 +02:00
other tests: removed semi-obsolete `maketestselftest' 2011-09-15 07:26:12 +02:00
qabstractbutton Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qabstractitemview Removing XFail from one test, since QCursor::setPos now works for qpa 2011-09-19 14:18:35 +02:00
qabstractprintdialog Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qabstractproxymodel Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qabstractscrollarea Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qabstractslider Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qabstractspinbox Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qaccessibility Accessible Slider: Remove virtual children. 2011-09-21 15:40:34 +02:00
qaccessibility_mac Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
qaction Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qactiongroup Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qapplication Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qboxlayout Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qbuttongroup Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qcalendarwidget Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qcheckbox Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qcolordialog Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qcolumnview Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qcombobox Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qcommandlinkbutton Merge remote branch 'gerrit/master' into refactor 2011-07-06 14:08:02 +02:00
qcompleter Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qcomplextext Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qcopchannel Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qdatawidgetmapper Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qdatetimeedit Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qdesktopwidget Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qdial Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qdialog Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qdialogbuttonbox Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qdirectpainter Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
qdirmodel Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qdockwidget Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qdoublespinbox Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qdoublevalidator Merge remote branch 'gerrit/master' into refactor 2011-08-03 11:03:22 +02:00
qerrormessage Merge remote-tracking branch 'base/master' into refactor 2011-06-01 15:34:58 +02:00
qfiledialog Merge remote branch 'gerrit/master' into refactor 2011-08-29 12:11:53 +02:00
qfiledialog2 Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qfileiconprovider Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qfilesystemmodel Merge remote branch 'gerrit/master' into refactor 2011-08-03 11:03:22 +02:00
qfocusevent Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qfocusframe Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qfontcombobox Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qfontdialog Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qformlayout Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qgraphicsanchorlayout Fix autotests to build on Windows. 2011-08-31 13:26:27 +02:00
qgraphicsanchorlayout1 Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicseffect Fixed tst_graphicseffect auto-test failures. 2011-09-07 08:35:48 +02:00
qgraphicseffectsource Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicsgridlayout Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qgraphicsitem Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qgraphicsitemanimation Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicslayout Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qgraphicslayoutitem Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicslinearlayout Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicsobject Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicspixmapitem Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicspolygonitem Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicsproxywidget Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qgraphicsscene Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qgraphicssceneindex Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qgraphicstransform Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qgraphicsview Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qgraphicswidget Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qgridlayout Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qgroupbox Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qheaderview Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qidentityproxymodel Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qinputcontext Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qinputdialog Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qintvalidator Add notify signals for QIntvalidator, QDoubleValidator, QRegExpValidator 2011-07-29 02:21:16 +02:00
qitemdelegate Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qitemeditorfactory Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qitemselectionmodel Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qitemview Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qlabel Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qlayout Merge remote branch 'gerrit/master' into refactor 2011-07-21 14:42:46 +02:00
qlcdnumber Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qlineedit Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qlistview Fix autotests to build on Windows. 2011-08-31 13:26:27 +02:00
qlistwidget Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qmacstyle Merge remote branch 'gerrit/master' into refactor 2011-07-21 14:42:46 +02:00
qmainwindow Add core-private to the qmainwindow autotest 2011-06-29 16:36:44 +02:00
qmdiarea Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
qmdisubwindow Fix autotests to build on Windows. 2011-08-31 13:26:27 +02:00
qmenu Merge remote branch 'gerrit/master' into refactor 2011-08-29 12:11:53 +02:00
qmenubar Temporarily disabled tests 2011-09-14 05:06:25 +02:00
qmessagebox Fix autotests to build on Windows. 2011-08-31 13:26:27 +02:00
qmultiscreen Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
qnetworkaccessmanager_and_qprogressdialog Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qobjectperformance Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qobjectrace Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qopengl Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qplaintextedit Fix compilation 2011-06-27 14:21:13 +02:00
qprogressbar Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qprogressdialog Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qpushbutton Merge remote branch 'gerrit/master' into refactor 2011-07-06 14:08:02 +02:00
qradiobutton Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qregexpvalidator Add notify signals for QIntvalidator, QDoubleValidator, QRegExpValidator 2011-07-29 02:21:16 +02:00
qs60mainapplication Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qscrollarea Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qscrollbar Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qscroller Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qsharedpointer_and_qwidget Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qsidebar Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qsizegrip Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qslider Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qsoftkeymanager Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
qsortfilterproxymodel Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qsound Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qspinbox Temporarily disabled tests 2011-09-14 05:06:25 +02:00
qsplitter Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qsslsocket_onDemandCertificates_member tests: mark expected failures in qsslsocket_onDemandCertificates 2011-08-18 05:53:42 +02:00
qsslsocket_onDemandCertificates_static tests: mark expected failures in qsslsocket_onDemandCertificates 2011-08-18 05:53:42 +02:00
qstackedlayout Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstackedwidget Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstandarditem Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstandarditemmodel Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstatusbar Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstringlistmodel Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstyle Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstyleoption Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qstylesheetstyle Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qsystemtrayicon Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qtabbar Fix autotests to build on Windows. 2011-08-31 13:26:27 +02:00
qtableview Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qtablewidget Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qtabwidget Merge remote branch 'gerrit/master' into refactor 2011-07-21 14:42:46 +02:00
qtextbrowser Merge remote branch 'gerrit/master' into refactor 2011-07-21 14:42:46 +02:00
qtextedit Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qtoolbar Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qtoolbox Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qtoolbutton Merge remote branch 'gerrit/master' into refactor 2011-07-21 14:42:46 +02:00
qtooltip Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qtransformedscreen Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qtreeview Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
qtreewidget Disabled tests for refactor->master integration 2011-09-13 08:25:05 +02:00
qtreewidgetitemiterator Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qundogroup Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qundostack Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qwidget Compilation of tst_qwidget.cpp. 2011-07-29 16:34:28 +02:00
qwidget_window Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qwidgetaction Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qwindow QWindow::mapToGlobal/mapFromGlobal and move() 2011-08-29 08:30:00 +02:00
qwindowsurface Merge branch 'master' into refactor 2011-08-25 12:48:52 +02:00
qwizard Merge remote branch 'gerrit/master' into refactor 2011-07-12 12:52:22 +02:00
qworkspace Merge remote branch 'staging/master' into refactor 2011-05-24 15:22:06 +02:00
qwsembedwidget Tests: Add widgets module to profile. 2011-08-29 15:35:18 +02:00
qwsinputmethod Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qwswindowsystem Doc: Fixing typo 2011-07-07 10:44:07 +02:00
qx11info tests: Mark failing autotests as "insignificant" for now 2011-07-19 13:11:32 +02:00
sql Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
symbian Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
testlib Allow tests to log to multiple destinations 2011-09-23 00:34:23 +02:00
tools Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
utf8 Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
v8 Fix autotest gui/widgets dependencies 2011-09-19 10:24:25 +02:00
windowsmobile Fix further test builds on Windows. 2011-08-31 15:22:35 +02:00
xml Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00
auto.pro Add other.pro back to auto.pro 2011-09-12 10:11:34 +02:00
corelib.pro Moved autotests in category 'testlib' into new directory structure 2011-09-12 08:36:15 +02:00
gui.pro Merge branch 'master' into refactor 2011-09-12 07:49:03 +02:00
host.pro Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
network-settings.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
network.pro Merge branch 'master' into refactor 2011-09-12 07:49:03 +02:00
other.pro Add other.pro back to auto.pro 2011-09-12 10:11:34 +02:00
platformquirks.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
qtextbrowser.html Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
solutions.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
test.pl Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
v8.pro Make sure tests/auto/v8.pro doesn't clobber auto.pro 2011-08-31 01:17:39 +02:00