summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2017-11-10 15:39:38 (GMT)
committerTobias Markmann <tm@ayena.de>2017-11-10 15:39:38 (GMT)
commitc5ff3704a693292c578a5b07d1604e522d70c6a7 (patch)
tree13feb106216c00b268005be17a85589e4e5f5adb /BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py
parentf742f3bf00ec35960c2f5e0545eea47a28d8c75d (diff)
downloadswift-c5ff3704a693292c578a5b07d1604e522d70c6a7.zip
swift-c5ff3704a693292c578a5b07d1604e522d70c6a7.tar.bz2
Fix typo in comment
Test-Information: None. Change-Id: I6c97c2e235c51d726da3c2f96cbf6ed24e6c25cc
Diffstat (limited to 'BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py')
-rw-r--r--BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py b/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py
index dada920..de0633d 100644
--- a/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py
+++ b/BuildTools/CrashReportAnalysis/WindowsMinidumpAnalyse.py
@@ -1,36 +1,36 @@
#!/usr/bin/env python
# Note
# ----
# This script requires:
# - cdb, the Windows command line debugger installed and available in PATH.
-# - the SWIFT_DIST environment variable set to a locatioon that contains msi and pdb.gz files.
+# - the SWIFT_DIST environment variable set to a location that contains msi and pdb.gz files.
import sys
from subprocess import call
from subprocess import Popen, PIPE
import ntpath
import shutil
import re
import urllib2
import os
import gzip
import time
swiftWindowBuildsPathPrefix = os.getenv("SWIFT_DIST")
if swiftWindowBuildsPathPrefix == None :
print "Please set the SWIFT_DIST environment variable to a location containing msi and pdb.gz files."
sys.exit(1)
if len(sys.argv) != 3:
print "Usage: python WindowsMinidumpAnalyse.py VERSION MINIDUMP_FILE"
sys.exit(1)
version = sys.argv[1]
minidump_file = sys.argv[2]
minidump_filename = ntpath.basename(minidump_file)
minidump_fullpath = os.path.abspath(minidump_file)
humantext_fullpath = os.path.splitext(minidump_fullpath)[0]+".txt"
symbol_cache_path = os.path.join(os.getenv("TEMP"), "\symbols")
working_folder = "tmp-crash-{0}".format(minidump_filename)
commit = ""