aboutsummaryrefslogtreecommitdiffstats
path: root/coin/instructions/coin_bic_tests.yaml
blob: bfdb30124815174c8781c4a32227980d001d8ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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