Revert "[ARM32/Linux] Copy tests.zip only for CI test and use x86 unittest"
authorRuss Keldorph <Russ.Keldorph@microsoft.com>
Wed, 3 May 2017 03:59:24 +0000 (20:59 -0700)
committerRuss Keldorph <russ.keldorph@microsoft.com>
Wed, 3 May 2017 10:03:54 +0000 (03:03 -0700)
This reverts commit 2ec8b5c2cc6d68ca02eb743e679997a8f11c90aa.

netci.groovy

index c7734a9..94d7ad5 100755 (executable)
@@ -1634,7 +1634,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
                     }
 
                     // Unzip the Windows test binaries first. Exit with 0
-                    buildCommands += "unzip -q -o ./bin/tests/tests.zip -d ./bin/tests/Windows_NT.x86.${configuration} || exit 0"
+                    buildCommands += "unzip -q -o ./bin/tests/tests.zip -d ./bin/tests/Windows_NT.x64.${configuration} || exit 0"
 
                     // Unpack the corefx binaries
                     buildCommands += "mkdir ./bin/CoreFxBinDir"
@@ -1654,7 +1654,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
                     --${arm_abi} \\
                     --linuxCodeName=${linuxCodeName} \\
                     --buildConfig=${lowerConfiguration} \\
-                    --testRootDir=./bin/tests/Windows_NT.x86.${configuration} \\
+                    --testRootDir=./bin/tests/Windows_NT.x64.${configuration} \\
                     --coreFxBinDir=./bin/CoreFxBinDir \\
                     --testDirFile=./tests/testsRunningInsideARM.txt"""
 
@@ -1963,7 +1963,7 @@ combinedScenarios.each { scenario ->
                                     def WindowTestsName = projectFolder + '/' +
                                                           Utilities.getFullJobName(project,
                                                                                    getJobName(lowerConfiguration,
-                                                                                              'x86' ,
+                                                                                              'x64' ,
                                                                                               'windows_nt',
                                                                                               'default',
                                                                                               true),
@@ -1971,9 +1971,9 @@ combinedScenarios.each { scenario ->
                                     def corefxFolder = Utilities.getFolderName('dotnet/corefx') + '/' +
                                                        Utilities.getFolderName(branch)
 
-                                    // Copy the Windows test binaries
+                                    // Copy the Windows test binaries and the Corefx build binaries
                                     copyArtifacts(WindowTestsName) {
-                                        includePatterns('bin/tests/tests.zip')
+                                        excludePatterns('**/testResults.xml', '**/*.ni.dll')
                                         buildSelector {
                                             latestSuccessful(true)
                                         }