You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@@ -17,8 +17,8 @@
|
||||
Switching to the .NET Core version of the BuildTools tasks seems to break numerous scenarios, such as VS intellisense and resource designer
|
||||
as well as runnning the build on mono. Until we can get these sorted out we will continue using the .NET 4.5 version of the tasks.
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<BuildToolsTargets45>true</BuildToolsTargets45>
|
||||
<PropertyGroup>
|
||||
<BuildToolsTargetsDesktop>true</BuildToolsTargetsDesktop>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Common repo directories -->
|
||||
@@ -29,7 +29,7 @@
|
||||
<PackagesDir>$(ProjectDir)..\..\..\packages\</PackagesDir>
|
||||
<ToolsDir Condition="'$(ToolsDir)'==''">$(ProjectDir)..\Tools\</ToolsDir>
|
||||
<DotnetCliPath Condition="'$(DotnetCliPath)'==''">$(ToolsDir)dotnetcli/</DotnetCliPath>
|
||||
<BuildToolsTaskDir Condition="'$(BuildToolsTargets45)' == 'true'">$(ToolsDir)net45/</BuildToolsTaskDir>
|
||||
<BuildToolsTaskDir Condition="'$(BuildToolsTargetsDesktop)' == 'true'">$(ToolsDir)net46/</BuildToolsTaskDir>
|
||||
<SkipImportILTargets>true</SkipImportILTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
25
external/corert/tests/CoreCLR/runtest/runtest.sh
vendored
25
external/corert/tests/CoreCLR/runtest/runtest.sh
vendored
@@ -118,14 +118,6 @@ case $OSName in
|
||||
;;
|
||||
esac
|
||||
|
||||
# clean up any existing dumpling remnants from previous runs.
|
||||
dumplingsListPath="$PWD/dumplings.txt"
|
||||
if [ -f "$dumplingsListPath" ]; then
|
||||
rm "$dumplingsListPath"
|
||||
fi
|
||||
|
||||
find . -type f -name "local_dumplings.txt" -exec rm {} \;
|
||||
|
||||
function xunit_output_begin {
|
||||
xunitOutputPath=$__LogDir/testResults.xml
|
||||
xunitTestOutputPath=${xunitOutputPath}.test
|
||||
@@ -601,7 +593,7 @@ function print_info_from_core_file {
|
||||
|
||||
function download_dumpling_script {
|
||||
echo "Downloading latest version of dumpling script."
|
||||
wget "https://raw.githubusercontent.com/Microsoft/dotnet-reliability/master/src/triage.python/dumpling.py"
|
||||
wget "https://dumpling.azurewebsites.net/api/client/dumpling.py"
|
||||
|
||||
local dumpling_script="dumpling.py"
|
||||
chmod +x $dumpling_script
|
||||
@@ -632,8 +624,11 @@ function upload_core_file_to_dumpling {
|
||||
paths_to_add=$coreClrBinDir
|
||||
fi
|
||||
|
||||
# Ensure the script has Unix line endings
|
||||
perl -pi -e 's/\r\n|\n|\r/\n/g' "$dumpling_script"
|
||||
|
||||
# The output from this will include a unique ID for this dump.
|
||||
./$dumpling_script "--corefile" "$core_file_name" "upload" "--addpaths" $paths_to_add "--squelch" | tee -a $dumpling_file
|
||||
./$dumpling_script "upload" "--dumppath" "$core_file_name" "--incpaths" $paths_to_add "--properties" "Project=CoreCLR" "--squelch" | tee -a $dumpling_file
|
||||
}
|
||||
|
||||
function preserve_core_file {
|
||||
@@ -1203,6 +1198,13 @@ fi
|
||||
export __TestEnv=$testEnv
|
||||
|
||||
cd "$testRootDir"
|
||||
|
||||
dumplingsListPath="$testRootDir/dumplings.txt"
|
||||
|
||||
# clean up any existing dumpling remnants from previous runs.
|
||||
rm -f "$dumplingsListPath"
|
||||
find $testRootDir -type f -name "local_dumplings.txt" -exec rm {} \;
|
||||
|
||||
time_start=$(date +"%s")
|
||||
if [ -z "$testDirectories" ]
|
||||
then
|
||||
@@ -1224,8 +1226,7 @@ finish_remaining_tests
|
||||
|
||||
print_results
|
||||
|
||||
echo "constructing $dumplingsListPath"
|
||||
find . -type f -name "local_dumplings.txt" -exec cat {} \; > $dumplingsListPath
|
||||
find $testRootDir -type f -name "local_dumplings.txt" -exec cat {} \; > $dumplingsListPath
|
||||
|
||||
if [ -s $dumplingsListPath ]; then
|
||||
cat $dumplingsListPath
|
||||
|
||||
Reference in New Issue
Block a user