mirror of https://github.com/qt/qtbase.git
Execute network test before building on Linux
Test a VMs network before building. Don't build if the network is down. Task-number: QTQAINFRA-6796 Change-Id: Ic39fc135e6a167ffc83041a2e30959f4eb858871 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
parent
81c791b1b1
commit
2fe65c6bc8
|
@ -82,6 +82,15 @@ instructions:
|
|||
property: host.compiler
|
||||
equals_value: ICC_18
|
||||
|
||||
# Test network integrity on Linux
|
||||
- type: ExecuteCommand
|
||||
command: [ "sh", "-c", "if [ -f /opt/CiNetworkTest/bin/CiNetworkTest ]; then LD_LIBRARY_PATH=/opt/icu/lib64 /opt/CiNetworkTest/bin/CiNetworkTest -d 2; fi " ]
|
||||
resetOnFailure: true
|
||||
userMessageOnFailure: "VM Network inconsistent"
|
||||
enable_if:
|
||||
condition: property
|
||||
property: host.os
|
||||
equals_value: Linux
|
||||
|
||||
# Test network integrity on Windows
|
||||
- type: ExecuteCommand
|
||||
|
|
Loading…
Reference in New Issue