summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlldb/test/dotest.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index 223b7ad1653..87af0a65f9f 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -325,22 +325,14 @@ def parseOptionsAndInitTestdirs():
index += 1
if index >= len(sys.argv) or sys.argv[index].startswith('-'):
usage()
- archSpec = sys.argv[index]
- if archSpec.find('^') != -1:
- archs = archSpec.split('^')
- else:
- os.environ["ARCH"] = archSpec
+ archs = sys.argv[index].split('^')
index += 1
elif sys.argv[index].startswith('-C'):
# Increment by 1 to fetch the CC spec.
index += 1
if index >= len(sys.argv) or sys.argv[index].startswith('-'):
usage()
- ccSpec = sys.argv[index]
- if ccSpec.find('^') != -1:
- compilers = ccSpec.split('^')
- else:
- os.environ["CC"] = ccSpec
+ compilers = sys.argv[index].split('^')
index += 1
elif sys.argv[index].startswith('-D'):
dumpSysPath = True
OpenPOWER on IntegriCloud