[ARM32/Linux] Copy tests.zip only for CI test and use x86 unittest
authorHyeongseok Oh <hseok82.oh@samsung.com>
Wed, 26 Apr 2017 06:44:16 +0000 (15:44 +0900)
committerRuss Keldorph <russ.keldorph@microsoft.com>
Tue, 2 May 2017 21:01:41 +0000 (14:01 -0700)
- Copy tests.zip only from x86 Windows build for CI test
- Use x86 unittest instead of x64: 32bit architecture

netci.groovy

index 94d7ad5..c7734a9 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.x64.${configuration} || exit 0"
+                    buildCommands += "unzip -q -o ./bin/tests/tests.zip -d ./bin/tests/Windows_NT.x86.${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.x64.${configuration} \\
+                    --testRootDir=./bin/tests/Windows_NT.x86.${configuration} \\
                     --coreFxBinDir=./bin/CoreFxBinDir \\
                     --testDirFile=./tests/testsRunningInsideARM.txt"""
 
@@ -1963,7 +1963,7 @@ combinedScenarios.each { scenario ->
                                     def WindowTestsName = projectFolder + '/' +
                                                           Utilities.getFullJobName(project,
                                                                                    getJobName(lowerConfiguration,
-                                                                                              'x64' ,
+                                                                                              'x86' ,
                                                                                               '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 and the Corefx build binaries
+                                    // Copy the Windows test binaries
                                     copyArtifacts(WindowTestsName) {
-                                        excludePatterns('**/testResults.xml', '**/*.ni.dll')
+                                        includePatterns('bin/tests/tests.zip')
                                         buildSelector {
                                             latestSuccessful(true)
                                         }