$(TestWorkingDir) $(CORE_ROOT) Core_Root_$(RuntimeID) $(TestWorkingDir)\archive\dummy $(TestWorkingDir)\archive\packages set RunCrossGen=true #!/bin/sh%0a $(WrapperShContents)%0a $(WrapperShContents)export CORE_ROOT="$HELIX_CORRELATION_PAYLOAD"%0a $(WrapperShContents)%0a $(WrapperShContents)for scriptFilePath in %24(find . -type f -iname '%2A.sh' ! -iname "runtests.sh" | sort)%0a $(WrapperShContents)do%0a $(WrapperShContents) perl -pi -e 's/\r\n|\n|\r/\n/g' "%24scriptFilePath"%0a $(WrapperShContents) chmod +x "%24scriptFilePath"%0a $(WrapperShContents)done%0a $(WrapperShContents)%0a $(WrapperShContents)echo BEGIN EXECUTION%0a $(WrapperShContents)echo "%24{HELIX_CORRELATION_PAYLOAD}/corerun" %24HELIX_WORKITEM_PAYLOAD/xunit.console.netcore.exe %24HELIX_WORKITEM_PAYLOAD/$(ProjectName) -noshadow -xml testResults.xml -notrait category=outerloop -notrait category=failing%0a $(WrapperShContents)"%24{HELIX_CORRELATION_PAYLOAD}/corerun" %24HELIX_WORKITEM_PAYLOAD/xunit.console.netcore.exe %24HELIX_WORKITEM_PAYLOAD/$(ProjectName) -noshadow -xml testResults.xml -notrait category=outerloop -notrait category=failing%0a $(WrapperShContents)ErrorLevel=%24%3F%0a $(WrapperShContents)%0a $(WrapperShContents)echo Finished running tests. Exit code = %24ErrorLevel%0a $(WrapperShContents)exit %24ErrorLevel%0a $(MSBuildProjectName)