Clean up Windows provisioning scripts
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Wed, 15 Jun 2016 16:24:18 +0000 (18:24 +0200)
committerFrederik Gladhorn <frederik.gladhorn@qt.io>
Thu, 16 Jun 2016 10:15:18 +0000 (10:15 +0000)
The execution policy is set by the CI. The command usually fails as it
is in the scritps right now since it must be run as admin.

Change-Id: Ie31cb7fc15720cc6d76646bf475b3d60a02014d8
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
coin/README
coin/provisioning/qtci-windows-10-x86/icu.ps1
coin/provisioning/qtci-windows-10-x86/jom.ps1
coin/provisioning/qtci-windows-10-x86_64/icu.ps1
coin/provisioning/qtci-windows-10-x86_64/jom.ps1
coin/provisioning/qtci-windows-7-x86/icu.ps1
coin/provisioning/qtci-windows-7-x86/jom.ps1
coin/provisioning/qtci-windows-8-x86/icu.ps1
coin/provisioning/qtci-windows-8-x86/jom.ps1
coin/provisioning/qtci-windows-8-x86_64/icu.ps1
coin/provisioning/qtci-windows-8-x86_64/jom.ps1

index 891d720..2fb3fe2 100644 (file)
@@ -6,4 +6,6 @@ This directory contains files used by Qt's Continuous Integration system (Coin).
 provisioning
 ------------
 Contains scripts that apply to different test machines in order to run automatic tests on them.
+For Windows scripts, make sure that the machine has "Set-ExecutionPolicy RemoteSigned -Force" set.
+(Run as admin in PowerShell)
 
index 7756bd0..325be36 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\icu.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 360fad9..842c65d 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\jom.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 7756bd0..325be36 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\icu.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 360fad9..842c65d 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\jom.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 7756bd0..325be36 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\icu.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 360fad9..842c65d 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\jom.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 7756bd0..325be36 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\icu.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 360fad9..842c65d 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\jom.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 7756bd0..325be36 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\icu.ps1"
-
-Set-ExecutionPolicy Restricted -Force
index 360fad9..842c65d 100644 (file)
@@ -1,6 +1 @@
-Set-ExecutionPolicy RemoteSigned -Force
-
-# install jom
 . "$PSScriptRoot\..\common\jom.ps1"
-
-Set-ExecutionPolicy Restricted -Force