mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provision and run the test script on Windows in warn-only mode. Task-number: QTQAINFRA-6796 Change-Id: I06fdfc44109017deb5eaacd3811930b98f1a10f7 Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
23 lines
761 B
PowerShell
23 lines
761 B
PowerShell
# Copyright (C) 2025 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
|
|
|
# Install and run network test
|
|
|
|
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
$networkTestLocation = "C:\Program Files"
|
|
$url_public="https://ci-files01-hki.ci.qt.io/input/networktestapp/CiNetworkTest-MSVC-2022-Windows.tgz"
|
|
$sha1="543D4562159140D4E7223721AF15ED6E1998E5B5"
|
|
$download_location = "C:\Windows\Temp\network-test.tgz"
|
|
|
|
Write-Host "Fetching CiNetworkTest.exe..."
|
|
|
|
Download $url_public "" $download_location
|
|
Verify-Checksum $download_location $sha1
|
|
Extract-tar_gz $download_location $networkTestLocation
|
|
Remove $download_location
|
|
|
|
# start executable
|
|
$exePath = "$networkTestLocation\CiNetworkTest.exe"
|
|
& $exePath --warn-only
|