diff --git a/src/tests/Common/CLRTest.CrossGen.targets b/src/tests/Common/CLRTest.CrossGen.targets index 7b9535650df01..87534106fac23 100644 --- a/src/tests/Common/CLRTest.CrossGen.targets +++ b/src/tests/Common/CLRTest.CrossGen.targets @@ -164,7 +164,7 @@ fi ]]> - $(BashCLRTestPreCommands);$(CrossgenBashScript) + $(CLRTestBashPreCommands);$(CrossgenBashScript) diff --git a/src/tests/Common/CLRTest.Execute.Bash.targets b/src/tests/Common/CLRTest.Execute.Bash.targets index bbeea29f894b6..6104dbd9ecdad 100644 --- a/src/tests/Common/CLRTest.Execute.Bash.targets +++ b/src/tests/Common/CLRTest.Execute.Bash.targets @@ -276,8 +276,8 @@ fi "$CORE_ROOT/corerun" $(CoreRunArgs) ${__DotEnvArg} - - + - + - - - + @(CLRTestBashEnvironmentVariable -> 'export %(Identity)=%(Value)', '%0a') @@ -548,11 +543,11 @@ ExePath=$(InputAssemblyName) export TestExclusionListPath=$CORE_ROOT/TestExclusionList.txt $(BashEnvironmentVariables) # PreCommands -$(BashCLRTestPreCommands) +$(CLRTestBashPreCommands) # Launch $(BashCLRTestLaunchCmds) # PostCommands -$(BashCLRTestPostCommands) +$(CLRTestBashPostCommands) $(BashCLRTestExitCodeCheck) ]]> diff --git a/src/tests/Common/CLRTest.Execute.Batch.targets b/src/tests/Common/CLRTest.Execute.Batch.targets index 014d160dd3b5c..00d2a3e66ec32 100644 --- a/src/tests/Common/CLRTest.Execute.Batch.targets +++ b/src/tests/Common/CLRTest.Execute.Batch.targets @@ -339,13 +339,8 @@ cmd /c $(InputAssemblyName) set CLRTestExitCode=!ERRORLEVEL! set CLRTestExpectedExitCode=0 ]]> - - - + @(CLRTestBatchEnvironmentVariable -> 'set %(Identity)=%(Value)', '%0d%0a') @@ -453,7 +448,7 @@ $(CLRTestBatchPreCommands) REM Launch $(BatchCLRTestLaunchCmds) REM PostCommands -$(BatchCLRTestPostCommands) +$(CLRTestBatchPostCommands) $(BatchCLRTestExitCodeCheck) ]]> diff --git a/src/tests/Common/CLRTest.GC.targets b/src/tests/Common/CLRTest.GC.targets index f28eca4b99d02..678d3c0693a64 100644 --- a/src/tests/Common/CLRTest.GC.targets +++ b/src/tests/Common/CLRTest.GC.targets @@ -54,7 +54,7 @@ then fi ]]> - $(BashCLRTestPreCommands);$(GCLongGCTestBashScript);$(GCSimulatorTestBashScript) + $(CLRTestBashPreCommands);$(GCLongGCTestBashScript);$(GCSimulatorTestBashScript) - - - + false - true + true true true @@ -221,20 +219,16 @@ IF NOT DEFINED DoLink ( false true - /dev/null $(scriptPath)__jit_disasm.out - - /dev/null $(scriptPath)__jit_disasm_list.out - ' dotnet $CORE_ROOT/SuperFileCheck/SuperFileCheck.dll --csharp-list-method-names "%(Identity)" --allow-unused-prefixes --check-prefixes=CHECK,$(TargetArchitecture.ToUpperInvariant()),$(TargetArchitecture.ToUpperInvariant())-$(TargetOS.ToUpperInvariant()) > "$(BashDisasmListOutputFile)" ERRORLEVEL=$? @@ -248,10 +242,10 @@ if [[ ( -z "$DOTNET_JitStress" ) && ( -z "$DOTNET_JitStressRegs" ) && ( -z "$DOT fi', '%0a') fi ]]> - + - - ' dotnet $CORE_ROOT/SuperFileCheck/SuperFileCheck.dll --csharp "%(Identity)" --allow-unused-prefixes --check-prefixes=CHECK,$(TargetArchitecture.ToUpperInvariant()),$(TargetArchitecture.ToUpperInvariant())-$(TargetOS.ToUpperInvariant()) --dump-input-context 40 --input-file "$(BashDisasmOutputFile)" ERRORLEVEL=$? @@ -262,26 +256,22 @@ if [[ -n $DOTNET_JitDisasm ]]; then fi', '%0a') fi ]]> - + false true - NUL $(scriptPath)__jit_disasm.out - - NUL $(scriptPath)__jit_disasm_list.out ' dotnet %CORE_ROOT%\SuperFileCheck\SuperFileCheck.dll --csharp-list-method-names "%(Identity)" --check-prefixes=CHECK,$(TargetArchitecture.ToUpperInvariant()),$(TargetArchitecture.ToUpperInvariant())-$(TargetOS.ToUpperInvariant()) > "$(BatchDisasmListOutputFile)" IF NOT "!ERRORLEVEL!" == "0" ( @@ -295,8 +285,8 @@ IF "%DOTNET_JitStress%"=="" IF "%DOTNET_JitStressRegs%"=="" IF "%DOTNET_Tailcall ]]> - - ' dotnet %CORE_ROOT%\SuperFileCheck\SuperFileCheck.dll --csharp "%(Identity)" --allow-unused-prefixes --check-prefixes=CHECK,$(TargetArchitecture.ToUpperInvariant()),$(TargetArchitecture.ToUpperInvariant())-$(TargetOS.ToUpperInvariant()) --dump-input-context 40 --input-file "$(BatchDisasmOutputFile)" IF NOT "!ERRORLEVEL!" == "0" ( @@ -305,7 +295,7 @@ IF NOT "%DOTNET_JitDisasm%" == "" ( )', '%0d%0a') ) ]]> - + @@ -373,20 +363,9 @@ set DOTNET_JitPath=%CORE_ROOT%\superpmi-shim-collector.dll *********************************************************************************************** --> - - - - - - - - - + + + diff --git a/src/tests/GC/Regressions/Github/Runtime_76219/Runtime_76219.csproj b/src/tests/GC/Regressions/Github/Runtime_76219/Runtime_76219.csproj index 4eec701f5a019..1ddf97612fbc5 100644 --- a/src/tests/GC/Regressions/Github/Runtime_76219/Runtime_76219.csproj +++ b/src/tests/GC/Regressions/Github/Runtime_76219/Runtime_76219.csproj @@ -11,12 +11,12 @@ set DOTNET_GCStress=0x3 set DOTNET_GCSegmentSize=8000 ]]> - + ]]> diff --git a/src/tests/Interop/DllImportAttribute/DllImportPath/DllImportPathTest.csproj b/src/tests/Interop/DllImportAttribute/DllImportPath/DllImportPathTest.csproj index ff81eb8f01a7c..12ea230fa9d4c 100644 --- a/src/tests/Interop/DllImportAttribute/DllImportPath/DllImportPathTest.csproj +++ b/src/tests/Interop/DllImportAttribute/DllImportPath/DllImportPathTest.csproj @@ -6,15 +6,14 @@ - - + - $(BashCLRTestPreCommands);$(PathEnvSetupCommands) + $(CLRTestBashPreCommands);$(PathEnvSetupCommands) diff --git a/src/tests/JIT/PGO/InstrumentedTiers/InstrumentedTiers.csproj b/src/tests/JIT/PGO/InstrumentedTiers/InstrumentedTiers.csproj index 0d7ec3d6e6470..9cd1526a84fe7 100644 --- a/src/tests/JIT/PGO/InstrumentedTiers/InstrumentedTiers.csproj +++ b/src/tests/JIT/PGO/InstrumentedTiers/InstrumentedTiers.csproj @@ -2,20 +2,12 @@ Exe True - - + + + + \ No newline at end of file diff --git a/src/tests/JIT/Regression/JitBlue/GitHub_27924/GitHub_27924.csproj b/src/tests/JIT/Regression/JitBlue/GitHub_27924/GitHub_27924.csproj index 89a2ea6cd06b6..2c26f5dc233c5 100644 --- a/src/tests/JIT/Regression/JitBlue/GitHub_27924/GitHub_27924.csproj +++ b/src/tests/JIT/Regression/JitBlue/GitHub_27924/GitHub_27924.csproj @@ -6,7 +6,9 @@ None True - + + + - - - - + diff --git a/src/tests/JIT/Regression/JitBlue/Runtime_45090/Runtime_45090.csproj b/src/tests/JIT/Regression/JitBlue/Runtime_45090/Runtime_45090.csproj index 290364aada078..8711b8e3b4e4c 100644 --- a/src/tests/JIT/Regression/JitBlue/Runtime_45090/Runtime_45090.csproj +++ b/src/tests/JIT/Regression/JitBlue/Runtime_45090/Runtime_45090.csproj @@ -4,12 +4,10 @@ None True True - + + diff --git a/src/tests/JIT/Regression/JitBlue/Runtime_75607/Runtime_75607.csproj b/src/tests/JIT/Regression/JitBlue/Runtime_75607/Runtime_75607.csproj index 9a3423ff0d39b..96125a52c7eae 100644 --- a/src/tests/JIT/Regression/JitBlue/Runtime_75607/Runtime_75607.csproj +++ b/src/tests/JIT/Regression/JitBlue/Runtime_75607/Runtime_75607.csproj @@ -6,19 +6,10 @@ None True - - - - + + + diff --git a/src/tests/JIT/SIMD/Directory.Build.props b/src/tests/JIT/SIMD/Directory.Build.props index 08825dc33d9cf..05722100b653f 100644 --- a/src/tests/JIT/SIMD/Directory.Build.props +++ b/src/tests/JIT/SIMD/Directory.Build.props @@ -5,17 +5,19 @@ - + - + + + + + diff --git a/src/tests/Loader/NativeLibs/FromNativePaths.csproj b/src/tests/Loader/NativeLibs/FromNativePaths.csproj index 5af2b1609881b..4d3443fd8626a 100644 --- a/src/tests/Loader/NativeLibs/FromNativePaths.csproj +++ b/src/tests/Loader/NativeLibs/FromNativePaths.csproj @@ -21,7 +21,7 @@ - $(BashCLRTestPreCommands);$(PathEnvSetupCommands) - $(BatchCLRTestPreCommands);$(PathEnvSetupCommands) + $(CLRTestBashPreCommands);$(PathEnvSetupCommands) + $(CLRTestBatchPreCommands);$(PathEnvSetupCommands) diff --git a/src/tests/baseservices/TieredCompilation/BasicTestWithMcj.csproj b/src/tests/baseservices/TieredCompilation/BasicTestWithMcj.csproj index 72843c761037c..324e64fe7dbbf 100644 --- a/src/tests/baseservices/TieredCompilation/BasicTestWithMcj.csproj +++ b/src/tests/baseservices/TieredCompilation/BasicTestWithMcj.csproj @@ -38,8 +38,8 @@ set "COMPlus_ReadyToRun=" endlocal set CLRCustomTestLauncher=RunBasicTestWithMcj.cmd --runCustomTest ]]> - +]]> diff --git a/src/tests/nativeaot/SmokeTests/HardwareIntrinsics/x64Vex.csproj b/src/tests/nativeaot/SmokeTests/HardwareIntrinsics/x64Vex.csproj index b14f7c618632c..983436eab7d79 100644 --- a/src/tests/nativeaot/SmokeTests/HardwareIntrinsics/x64Vex.csproj +++ b/src/tests/nativeaot/SmokeTests/HardwareIntrinsics/x64Vex.csproj @@ -13,8 +13,8 @@ - +]]> diff --git a/src/tests/nativeaot/SmokeTests/SharedLibrary/SharedLibrary.csproj b/src/tests/nativeaot/SmokeTests/SharedLibrary/SharedLibrary.csproj index 061aad6ed159d..09b36ffbd9fb7 100644 --- a/src/tests/nativeaot/SmokeTests/SharedLibrary/SharedLibrary.csproj +++ b/src/tests/nativeaot/SmokeTests/SharedLibrary/SharedLibrary.csproj @@ -14,11 +14,11 @@ mkdir native 2>nul copy /y SharedLibraryDriver.exe native\SharedLibrary.exe ]]> - +]]> diff --git a/src/tests/readytorun/determinism/crossgen2determinism.csproj b/src/tests/readytorun/determinism/crossgen2determinism.csproj index b1f3f366e3fc6..c0219b2b48594 100644 --- a/src/tests/readytorun/determinism/crossgen2determinism.csproj +++ b/src/tests/readytorun/determinism/crossgen2determinism.csproj @@ -19,12 +19,12 @@ set CoreRT_DeterminismSeed=1 set CoreRT_DeterminismSeed=2 %Core_Root%\CoreRun.exe %Core_Root%\crossgen2\crossgen2.dll --map -r:%Core_Root%\*.dll -r:..\..\crossgen2\crossgen2smoke\helperdll.dll -r:..\..\crossgen2\crossgen2smoke\helperildll.dll -o:crossgen2smoke2.ildll ..\..\crossgen2\crossgen2smoke\crossgen2smoke.dll ]]> - +]]> diff --git a/src/tests/readytorun/multifolder/multifolder.csproj b/src/tests/readytorun/multifolder/multifolder.csproj index d201bd7f295d6..d621dbd8d17fa 100644 --- a/src/tests/readytorun/multifolder/multifolder.csproj +++ b/src/tests/readytorun/multifolder/multifolder.csproj @@ -73,8 +73,8 @@ $(CLRTestBatchPreCommands) set DOTNET_GCName=!__gcStandaloneModeToRestore! ]]> - +]]> diff --git a/src/tests/readytorun/r2rdump/BasicTests/R2RDumpTest.csproj b/src/tests/readytorun/r2rdump/BasicTests/R2RDumpTest.csproj index b76ca5634bd9a..39d38e62ffd5d 100644 --- a/src/tests/readytorun/r2rdump/BasicTests/R2RDumpTest.csproj +++ b/src/tests/readytorun/r2rdump/BasicTests/R2RDumpTest.csproj @@ -41,8 +41,8 @@ $(DotnetToolCommand) $(R2RDumpCommand) --in GcInfoTransitions.ni.dll --out GcInf $(DotnetToolCommand) $(R2RDumpCommand) --in GenericFunctions.ni.dll --out GenericFunctions-test.xml -x -v --ignoreSensitive $(DotnetToolCommand) $(R2RDumpCommand) --in MultipleRuntimeFunctions.ni.dll --out MultipleRuntimeFunctions-test.xml -x -v --ignoreSensitive ]]> - +]]> diff --git a/src/tests/readytorun/tests/mainv1.csproj b/src/tests/readytorun/tests/mainv1.csproj index 12c36cc90feaa..eae10d7f64239 100644 --- a/src/tests/readytorun/tests/mainv1.csproj +++ b/src/tests/readytorun/tests/mainv1.csproj @@ -85,8 +85,8 @@ if not exist mainv1.map ( endlocal ]]> - +]]> diff --git a/src/tests/readytorun/tests/mainv2.csproj b/src/tests/readytorun/tests/mainv2.csproj index 3c9e2ec841255..eaf35fd22d967 100644 --- a/src/tests/readytorun/tests/mainv2.csproj +++ b/src/tests/readytorun/tests/mainv2.csproj @@ -85,8 +85,8 @@ if not exist mainv2.map ( endlocal ]]> - +]]>