JitStdOutFile has append behavior, so if you rerun the scripts you would
get multiple repeated sets of jitdisasm. This would give FileCheck a
much range of disassembly to match that was much wider than expected.
export DOTNET_JitDisasm=`cat $(BashDisasmListOutputFile)`
export DOTNET_JitDiffableDasm=1
export DOTNET_JitStdOutFile=$(BashDisasmOutputFile)
+ rm -f $(BashDisasmOutputFile)
if [[ $ERRORLEVEL -ne 0 ]]
then
echo EXECUTION OF FILECHECK - FAILED $ERRORLEVEL
for /F "delims=" %%g in ($(BatchDisasmListOutputFile)) do set DOTNET_JitDisasm=%%g
set DOTNET_JitDiffableDasm=1
set DOTNET_JitStdOutFile=$(BatchDisasmOutputFile)
+ del $(BatchDisasmOutputFile) >nul 2>&1
)
]]>
</CLRTestBatchPreCommands>