aboutsummaryrefslogtreecommitdiffstats
path: root/coin/instructions
diff options
context:
space:
mode:
authorToni Saario <toni.saario@qt.io>2022-05-25 12:04:16 +0300
committerToni Saario <toni.saario@qt.io>2022-09-15 08:54:31 +0300
commitd5381608baa52bc6799cff2d66d2c859d1af3f79 (patch)
treee7b3da38082112f0ad6dcb164f131f460ceabaf2 /coin/instructions
parent0770d0db8fed7b702059d8e4b5c31aeb1b7803d1 (diff)
Run bic tests
The way of running bic tests has changed. Now tests need to be run on qt5 level where all modules are present and intermodule includes can be handled. Task-number: QTBUG-100698 Change-Id: Ic68c019988718485201602f279530c501f6e6ba3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Simo Fält <simo.falt@qt.io>
Diffstat (limited to 'coin/instructions')
-rw-r--r--coin/instructions/coin_bic_tests.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/coin/instructions/coin_bic_tests.yaml b/coin/instructions/coin_bic_tests.yaml
new file mode 100644
index 00000000..bfdb3012
--- /dev/null
+++ b/coin/instructions/coin_bic_tests.yaml
@@ -0,0 +1,32 @@
+type: Group
+instructions:
+ - type: EnvironmentVariable
+ variableName: QT_MODULE_TO_TEST
+ variableValue: "qt=QtConcurrent,QtCore,QtDBus,QtDesigner,QtGui,QtHelp,QtNetwork,QtOpenGL,QtPrintSupport,QtQml,QtQuick,QtQuickTest,QtSql,QtSvg,QtTest,QtWidgets,QtXml;{{.SourceDir}}/qtbase"
+ - type: EnvironmentVariable
+ variableName: QTDIR
+ variableValue: "{{.InstallDir}}"
+ - type: PrependToEnvironmentVariable
+ variableName: PATH
+ variableValue: "{{.InstallDir}}/bin:"
+ - type: ChangeDirectory
+ directory: "{{.SourceDir}}/qtqa/tests/postbuild/bic"
+ - type: ExecuteCommand
+ command: ["{{.InstallDir}}/bin/qmake"]
+ maxTimeInSeconds: 3600
+ maxTimeBetweenOutput: 300
+ userMessageOnFailure: "Failed to execute qmake for bic tests"
+ - type: ExecuteCommand
+ command: ["make", "check", "-j1"]
+ maxTimeInSeconds: 7200
+ maxTimeBetweenOutput: 300
+ userMessageOnFailure: "Failed to execute bic tests"
+enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: features
+ contains_value: Packaging
+ - condition: property
+ property: target.os
+ equals_value: Linux