tests/auto/auto.pro
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
     1 QT = core
       
     2 TEMPLATE = subdirs
     1 TEMPLATE = subdirs
     3 
     2 
     4 # These tests use host tools and therefore can't work for cross-compiled Qt.
     3 SUBDIRS += \
     5 !cross_compile:SUBDIRS += \
     4     corelib.pro \
     6            headers \
     5     gui.pro \
     7            bic \
     6     network.pro \
     8            compiler \
     7     sql.pro \
     9            compilerwarnings \
     8     xml.pro \
    10            linguist \
     9     other.pro
    11            maketestselftest \
       
    12            moc \
       
    13            uic \
       
    14            guiapplauncher \
       
    15            #atwrapper \     # These tests need significant updating,
       
    16            #uiloader \      # they have hardcoded machine names etc.
       
    17 
    10 
    18 Q3SUBDIRS += \
    11 !cross_compile:                             SUBDIRS += host.pro
    19            q3accel \
    12 contains(QT_CONFIG, qt3support):!wince*:    SUBDIRS += qt3support.pro
    20            q3action \
    13 contains(QT_CONFIG, opengl):                SUBDIRS += opengl.pro
    21            q3actiongroup \
    14 contains(QT_CONFIG, xmlpatterns):           SUBDIRS += xmlpatterns.pro
    22            q3buttongroup \
    15 unix:!embedded:contains(QT_CONFIG, dbus):   SUBDIRS += dbus.pro
    23            q3canvas \
    16 contains(QT_CONFIG, script):                SUBDIRS += script.pro
    24            q3checklistitem \
    17 contains(QT_CONFIG, webkit):                SUBDIRS += webkit.pro
    25            q3cstring \
    18 contains(QT_CONFIG, multimedia):            SUBDIRS += multimedia.pro
    26            q3databrowser \
    19 contains(QT_CONFIG, phonon):                SUBDIRS += phonon.pro
    27            q3dateedit \
    20 contains(QT_CONFIG, svg):                   SUBDIRS += svg.pro
    28            q3datetimeedit \
       
    29            q3deepcopy \
       
    30            q3dict \
       
    31            q3dns \
       
    32            q3dockwindow \
       
    33            q3filedialog \
       
    34            q3groupbox \
       
    35            q3hbox \
       
    36            q3header \
       
    37            q3iconview \
       
    38            q3listbox \
       
    39            q3listview \
       
    40            q3listviewitemiterator \
       
    41            q3mainwindow \
       
    42            q3popupmenu \
       
    43            q3process \
       
    44            q3progressbar \
       
    45            q3progressdialog \
       
    46            q3ptrlist \
       
    47            q3richtext \
       
    48            q3scrollview \
       
    49            q3semaphore \
       
    50            q3serversocket \
       
    51            q3socket \
       
    52            q3socketdevice \
       
    53            q3sqlcursor \
       
    54            q3sqlselectcursor \
       
    55            q3stylesheet \
       
    56            q3tabdialog \
       
    57            q3table \
       
    58            q3textbrowser \
       
    59            q3textedit \
       
    60            q3textstream \
       
    61            q3timeedit \
       
    62            q3toolbar \
       
    63            q3urloperator \
       
    64            q3valuelist \
       
    65            q3valuevector \
       
    66            q3combobox \
       
    67            q3frame \
       
    68            q3uridrag \
       
    69            q3widgetstack
       
    70 
       
    71 !cross_compile:Q3SUBDIRS += \
       
    72            uic3
       
    73 
       
    74 SUBDIRS += \
       
    75 #           exceptionsafety_objects \ shouldn't enable it
       
    76            languagechange \
       
    77            collections \
       
    78            exceptionsafety \
       
    79            mediaobject \
       
    80 #           mediaobject_wince_ds9 \   This is Windows CE only (we test the second phonon backend ds9 here)
       
    81            modeltest \
       
    82            networkselftest \
       
    83            qabstractbutton \
       
    84            qabstractitemmodel \
       
    85            qabstractitemview \
       
    86            qabstractprintdialog \
       
    87            qabstractscrollarea \
       
    88            qabstractslider \
       
    89            qabstractsocket \
       
    90            qabstractspinbox \
       
    91            qabstracttextdocumentlayout \
       
    92            qabstractvideobuffer \
       
    93            qabstractvideosurface \
       
    94            qaccessibility \
       
    95            qaction \
       
    96            qactiongroup \
       
    97            qalgorithms \
       
    98            qanimationgroup \
       
    99            qapplication \
       
   100            qatomicint \
       
   101            qatomicpointer \
       
   102            qbitarray \
       
   103            qboxlayout \
       
   104            qbrush \
       
   105            qbuffer \
       
   106            qbuttongroup \
       
   107            qbytearray \
       
   108            qcache \
       
   109            qchar \
       
   110            qcheckbox \
       
   111            qclipboard \
       
   112            qcolor \
       
   113            qcolordialog \
       
   114            qcombobox \
       
   115            qcompleter \
       
   116            qcomplextext \
       
   117            qcoreapplication \
       
   118            qcryptographichash \
       
   119            qcssparser \
       
   120            qdatastream \
       
   121            qdatawidgetmapper \
       
   122            qdate \
       
   123            qdatetime \
       
   124            qdatetimeedit \
       
   125            qdebug \
       
   126            qdesktopservices \
       
   127            qdesktopwidget \
       
   128            qdial \
       
   129            qdialog \
       
   130            qdialogbuttonbox \
       
   131            qdir \
       
   132            qdirmodel \
       
   133            qdockwidget \
       
   134            qdom \
       
   135            qdoublespinbox \
       
   136            qdoublevalidator \
       
   137            qdrag \
       
   138            qerrormessage \
       
   139            qevent \
       
   140            qeventloop \
       
   141            qexplicitlyshareddatapointer \
       
   142            qfile \
       
   143            qfiledialog \
       
   144            qfiledialog2 \
       
   145            qfileinfo \
       
   146            qfilesystemwatcher \
       
   147            qfilesystemmodel \
       
   148            qflags \
       
   149            qfocusevent \
       
   150            qfocusframe \
       
   151            qfont \
       
   152            qfontcombobox \
       
   153            qfontdatabase \
       
   154            qfontdialog \
       
   155            qfontmetrics \
       
   156            qftp \
       
   157            qgetputenv \
       
   158            qglobal \
       
   159            qgraphicseffect \
       
   160            qgraphicseffectsource \
       
   161            qgraphicsgridlayout \
       
   162            qgraphicsitem \
       
   163            qgraphicsitemanimation \
       
   164            qgraphicsanchorlayout \
       
   165            qgraphicsanchorlayout1 \
       
   166            qgraphicslayout \
       
   167            qgraphicslayoutitem \
       
   168            qgraphicslinearlayout \
       
   169            qgraphicsobject \
       
   170            qgraphicspixmapitem \
       
   171            qgraphicspolygonitem \
       
   172            qgraphicsproxywidget \
       
   173            qgraphicsscene \
       
   174            qgraphicssceneindex \
       
   175            qgraphicstransform \
       
   176            qgraphicsview \
       
   177            qgraphicswidget \
       
   178            qgridlayout \
       
   179            qgroupbox \
       
   180            qguivariant \
       
   181            qhash \
       
   182            qheaderview \
       
   183            qhelpcontentmodel \
       
   184            qhelpenginecore \
       
   185            qhelpgenerator \
       
   186            qhelpindexmodel \
       
   187            qhelpprojectdata \
       
   188            qhostaddress \
       
   189            qhostinfo \
       
   190            qhttp \
       
   191            qhttpnetworkreply \
       
   192            qhttpnetworkconnection \
       
   193            qicon \
       
   194            qicoimageformat \
       
   195            qimage \
       
   196            qimageiohandler \
       
   197            qimagereader \
       
   198            qimagewriter \
       
   199            qinputdialog \
       
   200            qintvalidator \
       
   201            qiodevice \
       
   202            qitemdelegate \
       
   203            qitemeditorfactory \
       
   204            qitemmodel \
       
   205            qitemselectionmodel \
       
   206            qitemview \
       
   207            qkeysequence \
       
   208            qlabel \
       
   209            qlayout \
       
   210            qlcdnumber \
       
   211            qlibrary \
       
   212            qline \
       
   213            qlineedit \
       
   214            qlist \
       
   215            qlistview \
       
   216            qlistwidget \
       
   217            qlocale \
       
   218            qmainwindow \
       
   219            qmake \
       
   220            qmap \
       
   221            qmath \
       
   222            qmatrixnxn \
       
   223            qmdiarea \
       
   224            qmdisubwindow \
       
   225            qmenu \
       
   226            qmenubar \
       
   227            qmessagebox \
       
   228            qmetaobject \
       
   229            qmetatype \
       
   230            qmouseevent \
       
   231            qmouseevent_modal \
       
   232            qmovie \
       
   233            qmutex \
       
   234            qmutexlocker \
       
   235            qnativesocketengine \
       
   236            qnetworkcookie \
       
   237            qnetworkcookiejar \
       
   238            qnetworkinterface \
       
   239            qnetworkproxy \
       
   240            qnetworkrequest \
       
   241            qnetworkreply \
       
   242            qnetworkaccessmanager_and_qprogressdialog \
       
   243            qnumeric \
       
   244            qobject \
       
   245            qobjectrace \
       
   246            qcontiguouscache \
       
   247            qpaintengine \
       
   248            qpainter \
       
   249            qpainterpath \
       
   250            qpalette \
       
   251            qparallelanimationgroup \
       
   252            qpauseanimation \
       
   253            qpathclipper \
       
   254            qpen \
       
   255            qpicture \
       
   256            qpixmap \
       
   257            qpixmapcache \
       
   258            qpixmapfilter \
       
   259            qplaintextedit \
       
   260            qpoint \
       
   261            qpointer \
       
   262            qpolygon \
       
   263            qprinter \
       
   264            qprinterinfo \
       
   265            qprocess \
       
   266 	   qprocessenvironment \
       
   267            qprogressbar \
       
   268            qprogressdialog \
       
   269            qpropertyanimation \
       
   270            qpushbutton \
       
   271            qquaternion \
       
   272            qqueue \
       
   273            qradiobutton \
       
   274            qreadlocker \
       
   275            qreadwritelock \
       
   276            qrect \
       
   277            qregexp \
       
   278            qregexpvalidator \
       
   279            qregion \
       
   280            qresourceengine \
       
   281            qringbuffer \
       
   282            qscopedpointer \
       
   283            qscrollarea \
       
   284            qsemaphore \
       
   285            qsharedpointer \
       
   286            qsharedpointer_and_qwidget \
       
   287            qsequentialanimationgroup \
       
   288            qset \
       
   289            qsettings \
       
   290            qshortcut \
       
   291            qsignalmapper \
       
   292            qsignalspy \
       
   293            qsize \
       
   294            qsizef \
       
   295            qslider \
       
   296            qsocketnotifier \
       
   297            qsocks5socketengine \
       
   298            qsortfilterproxymodel \
       
   299            qsound \
       
   300            qaudiodeviceinfo \
       
   301            qaudioformat \
       
   302            qaudiooutput \
       
   303            qaudioinput \
       
   304            qspinbox \
       
   305            qsplitter \
       
   306            qsql \
       
   307            qsqldatabase \
       
   308            qsqlerror \
       
   309            qsqlfield \
       
   310            qsqlquery \
       
   311            qsqlquerymodel \
       
   312            qsqlrecord \
       
   313            qsqlrelationaltablemodel \
       
   314            qsqltablemodel \
       
   315            qsqlthread \
       
   316            qsslcertificate \
       
   317            qsslcipher \
       
   318            qsslerror \
       
   319            qsslkey \
       
   320            qsslsocket \
       
   321            qstackedlayout \
       
   322            qstackedwidget \
       
   323            qstandarditem \
       
   324            qstandarditemmodel \
       
   325            qstate \
       
   326            qstatemachine \
       
   327            qstatusbar \
       
   328            qstl \
       
   329            qstring \
       
   330            qstringbuilder1 \
       
   331            qstringbuilder2 \
       
   332            qstringbuilder3 \
       
   333            qstringbuilder4 \
       
   334            qstringmatcher \
       
   335            qstringlist \
       
   336            qstringlistmodel \
       
   337            qstyle \
       
   338            qstyleoption \
       
   339            qstylesheetstyle \
       
   340            qsvgdevice \
       
   341            qsvggenerator \
       
   342            qsvgrenderer \
       
   343            qsyntaxhighlighter \
       
   344            qsystemtrayicon \
       
   345            qtabbar \
       
   346            qtableview \
       
   347            qtablewidget \
       
   348            qtabwidget \
       
   349            qtcpserver \
       
   350            qtcpsocket \
       
   351            qtemporaryfile \
       
   352            qtessellator \
       
   353            qtextblock \
       
   354            qtextboundaryfinder \
       
   355            qtextbrowser \
       
   356            #qtextcodec \
       
   357            qtextcursor \
       
   358            qtextdocument \
       
   359            qtextdocumentfragment \
       
   360            qtextdocumentlayout \
       
   361            qtextedit \
       
   362            qtextformat \
       
   363            qtextlayout \
       
   364            qtextlist \
       
   365            qtextobject \
       
   366            qtextscriptengine \
       
   367            qtextstream \
       
   368            qtexttable \
       
   369            qthread \
       
   370            qthreadonce \
       
   371            qthreadstorage \
       
   372            qtime \
       
   373            qtimeline \
       
   374            qtimer \
       
   375            qtmd5 \
       
   376            qtoolbar \
       
   377            qtoolbox \
       
   378            qtoolbutton \
       
   379            qtooltip \
       
   380            qtranslator \
       
   381            qtransform \
       
   382            qtransformedscreen \
       
   383            qtreeview \
       
   384            qtreewidget \
       
   385            qtreewidgetitemiterator \
       
   386            qtwidgets \
       
   387            qudpsocket \
       
   388            qundogroup \
       
   389            qundostack \
       
   390            qurl \
       
   391            quuid \
       
   392            qvariant \
       
   393            qvarlengtharray \
       
   394            qvector \
       
   395            qvideoframe \
       
   396            qvideosurfaceformat \
       
   397            qvectornd \
       
   398            qwaitcondition \
       
   399            qwidget \
       
   400            qwidgetaction \
       
   401            qwindowsurface \
       
   402            qwineventnotifier \
       
   403            qwizard \
       
   404            qwmatrix \
       
   405            qworkspace \
       
   406            qwritelocker \
       
   407            qwsembedwidget \
       
   408            qwsinputmethod \
       
   409            qwswindowsystem \
       
   410            qx11info \
       
   411            qxml \
       
   412            qxmlinputsource \
       
   413            qxmlsimplereader \
       
   414            qxmlstream \
       
   415            selftests \
       
   416            symbols \
       
   417            qrand \
       
   418            utf8 \
       
   419            gestures \
       
   420            qabstractnetworkcache \
       
   421            qabstractproxymodel \
       
   422            qbytearraymatcher \
       
   423            qcalendarwidget \
       
   424            qcolumnview \
       
   425            qcommandlinkbutton \
       
   426            qdbuscontext \
       
   427            qdbusserver \
       
   428            qdbusservicewatcher \
       
   429            qdiriterator \
       
   430            qeasingcurve \
       
   431            qfileiconprovider \
       
   432            qformlayout \
       
   433            q_func_info \
       
   434            qfuture \
       
   435            qfuturewatcher \
       
   436            qguard \
       
   437            qhttpsocketengine \
       
   438            qinputcontext \
       
   439            qlocalsocket \
       
   440            qmacstyle \
       
   441            qmargins \
       
   442            qnetworkaddressentry \
       
   443            qnetworkcachemetadata \
       
   444            qnetworkdiskcache \
       
   445            qobjectperformance \
       
   446            qpainterpathstroker \
       
   447            qplugin \
       
   448            qpluginloader \
       
   449            qscrollbar \
       
   450            qsidebar \
       
   451            qsizegrip \
       
   452            qsqldriver \
       
   453            qtconcurrentfilter \
       
   454            qtconcurrentiteratekernel \
       
   455            qtconcurrentmap \
       
   456            qtconcurrentrun \
       
   457            qtconcurrentthreadengine \
       
   458            qthreadpool \
       
   459            qtipc \
       
   460            qtokenautomaton \
       
   461            qtouchevent \
       
   462            qwidget_window \
       
   463            rcc \
       
   464            windowsmobile
       
   465 
       
   466 contains(QT_CONFIG,opengl):SUBDIRS += qgl
       
   467 
       
   468 contains(QT_CONFIG,qt3support):!wince*:SUBDIRS += $$Q3SUBDIRS
       
   469 
       
   470 contains(QT_CONFIG, OdfWriter):SUBDIRS += qzip qtextodfwriter
       
   471 mac: {
       
   472     SUBDIRS += macgui \
       
   473                macplist \
       
   474                qaccessibility_mac
       
   475 }
       
   476 
       
   477 embedded:!wince* {
       
   478     SUBDIRS += qcopchannel \
       
   479                qdirectpainter \
       
   480                qmultiscreen
       
   481 }
       
   482 !win32: {
       
   483     SUBDIRS += qtextpiecetable
       
   484 }
       
   485 
       
   486 symbian {
       
   487     SUBDIRS += qsoftkeymanager \
       
   488                qs60mainapplication
       
   489 }
       
   490 
       
   491 # Enable the tests specific to QtXmlPatterns. If you add a test, remember to
       
   492 # update runQtXmlPatternsTests.sh too. Remember that this file, auto.pro, is
       
   493 # not respected by some test system, they just have a script which loop over
       
   494 # the folders.
       
   495 contains(QT_CONFIG, xmlpatterns) {
       
   496 SUBDIRS += checkxmlfiles                \
       
   497            patternistexamplefiletree    \
       
   498            patternistexamples           \
       
   499            patternistheaders            \
       
   500            qabstractmessagehandler      \
       
   501            qabstracturiresolver         \
       
   502            qabstractxmlforwarditerator  \
       
   503            qabstractxmlnodemodel        \
       
   504            qabstractxmlreceiver         \
       
   505            qapplicationargumentparser   \
       
   506            qautoptr                     \
       
   507            qsimplexmlnodemodel          \
       
   508            qsourcelocation              \
       
   509            qxmlformatter                \
       
   510            qxmlitem                     \
       
   511            qxmlname                     \
       
   512            qxmlnamepool                 \
       
   513            qxmlnodemodelindex           \
       
   514            qxmlquery                    \
       
   515            qxmlresultitems              \
       
   516            qxmlschema                   \
       
   517            qxmlschemavalidator          \
       
   518            qxmlserializer               \
       
   519            xmlpatterns                  \
       
   520            xmlpatternsdiagnosticsts     \
       
   521            xmlpatternsschema            \
       
   522            xmlpatternsschemats          \
       
   523            xmlpatternssdk               \
       
   524            xmlpatternsvalidator         \
       
   525            xmlpatternsview              \
       
   526            xmlpatternsxqts              \
       
   527            xmlpatternsxslts
       
   528 
       
   529 xmlpatternsdiagnosticsts.depends = xmlpatternssdk
       
   530 xmlpatternsview.depends = xmlpatternssdk
       
   531 xmlpatternsxslts.depends = xmlpatternssdk
       
   532 xmlpatternsschemats.depends = xmlpatternssdk
       
   533 }
       
   534 
       
   535 unix:!embedded:contains(QT_CONFIG, dbus):SUBDIRS += \
       
   536            qdbusabstractadaptor \
       
   537            qdbusabstractinterface \
       
   538            qdbusconnection \
       
   539            qdbusinterface \
       
   540            qdbuslocalcalls \
       
   541            qdbusmarshall \
       
   542            qdbusmetaobject \
       
   543            qdbusmetatype \
       
   544            qdbuspendingcall \
       
   545            qdbuspendingreply \
       
   546            qdbusperformance \
       
   547            qdbusreply \
       
   548            qdbusthreading \
       
   549            qdbusxmlparser
       
   550 
       
   551 contains(QT_CONFIG, script): SUBDIRS += \
       
   552            qscriptable \
       
   553            qscriptclass \
       
   554            qscriptcontext \
       
   555            qscriptcontextinfo \
       
   556            qscriptengine \
       
   557            qscriptengineagent \
       
   558            qscriptextqobject \
       
   559            qscriptjstestsuite \
       
   560            qscriptv8testsuite \
       
   561            qscriptstring \
       
   562            qscriptvalue \
       
   563            qscriptvalueiterator \
       
   564            qscriptenginedebugger
       
   565 
       
   566 contains(QT_CONFIG, webkit): SUBDIRS += \
       
   567            qwebframe \
       
   568            qwebpage \
       
   569            qwebhistoryinterface \
       
   570            qwebelement \
       
   571            qwebhistory
       
   572 
       
   573 contains(QT_CONFIG, declarative): SUBDIRS += declarative
       
   574 
       
   575 # Following tests depends on private API
       
   576 !contains(QT_CONFIG, private_tests): SUBDIRS -= \
       
   577            qcssparser \
       
   578            qgraphicssceneindex \
       
   579            qhttpnetworkconnection \
       
   580            qhttpnetworkreply \
       
   581            qnativesocketengine \
       
   582            qnetworkreply \
       
   583            qpathclipper \
       
   584            qsocketnotifier \
       
   585            qsocks5socketengine \
       
   586            qstylesheetstyle \
       
   587            qtextpiecetable \
       
   588            xmlpatternsdiagnosticsts \
       
   589            xmlpatternsview \
       
   590            xmlpatternsxqts \
       
   591            xmlpatternsxslts
       
   592 
    21 
   593 
    22 
   594 ############### make check recursively for testcases ##################
       
   595 check.CONFIG = recursive
       
   596 check.recurse = $$SUBDIRS
       
   597 check.recurse_target = check
       
   598 QMAKE_EXTRA_TARGETS += check
       
   599 ###########################################################