summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityamandaleeka@users.noreply.github.com>2017-01-31 10:26:49 -0800
committerGitHub <noreply@github.com>2017-01-31 10:26:49 -0800
commitb2b3e07625fa3308110d88cd9f013f788e02e5f7 (patch)
tree3dc521d3fba351e84d643e3f569e327a42f0e531 /tests
parent6f1d51049a0c90b6402c575c2b8d05859616b6bf (diff)
parenta6b8ea0c1e329ee73303ec0dbecf22a97bdb0755 (diff)
downloadcoreclr-b2b3e07625fa3308110d88cd9f013f788e02e5f7.tar.gz
coreclr-b2b3e07625fa3308110d88cd9f013f788e02e5f7.tar.bz2
coreclr-b2b3e07625fa3308110d88cd9f013f788e02e5f7.zip
Merge pull request #9207 from adityamandaleeka/ci_dump_improvements
Switch to a newer version of the dump management service we use
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtest.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh
index f58eff1557..8a917c3bf4 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -591,7 +591,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
@@ -622,8 +622,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 {