Fix several typos in bash script generation for Crossgen2 (#40417)
authorTomáš Rylek <trylek@microsoft.com>
Thu, 6 Aug 2020 16:39:42 +0000 (18:39 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Aug 2020 16:39:42 +0000 (18:39 +0200)
src/coreclr/tests/src/CLRTest.CrossGen.targets

index 3fd4b4a..96a8233 100644 (file)
@@ -86,10 +86,10 @@ if [ ! -z ${RunCrossGen2+x} ]%3B then
       __ResponseFile="$__OutputFile.rsp"
       rm $__ResponseFile
 
-      // Suppress the GC stress COMPlus for the duration of Crossgen2 execution
-      local gcStressModeToRestore = $COMPlus_GCStress;
-      local heapVerifyModeToRestore = $COMPlus_HeapVerify;
-      local readyToRunModeToRestore = $COMPlus_ReadyToRun;
+      # Suppress the GC stress COMPlus for the duration of Crossgen2 execution
+      local gcStressModeToRestore=$COMPlus_GCStress;
+      local heapVerifyModeToRestore=$COMPlus_HeapVerify;
+      local readyToRunModeToRestore=$COMPlus_ReadyToRun;
       export COMPlus_GCStress=
       export COMPlus_HeapVerify=
       export COMPlus_ReadyToRun=
@@ -127,7 +127,7 @@ if [ ! -z ${RunCrossGen2+x} ]%3B then
   }
 
     if [ ! -z ${CompositeBuildMode+x} ]%3B then
-        ExtraCrossGen2Args+= --composite
+        ExtraCrossGen2Args+=" --composite"
         OneFileCrossgen2 "$PWD/composite-r2r.dll" "$PWD/IL/*.dll"
     else
         ExtraCrossGen2Args+= -r:$PWD/IL/*.dll