summaryrefslogtreecommitdiffstats
path: root/lldb/test/plugins/darwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/plugins/darwin.py')
-rw-r--r--lldb/test/plugins/darwin.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/lldb/test/plugins/darwin.py b/lldb/test/plugins/darwin.py
index bdb1b11d4b7..020fbb983e2 100644
--- a/lldb/test/plugins/darwin.py
+++ b/lldb/test/plugins/darwin.py
@@ -17,15 +17,14 @@ import lldbtest
#print "Hello, darwin plugin!"
+def getArchitecture():
+ """Returns the architecture in effect the test suite is now running with."""
+ return os.environ["ARCH"] if "ARCH" in os.environ else ""
+
def getCompiler():
"""Returns the compiler in effect the test suite is now running with."""
return os.environ["CC"] if "CC" in os.environ else ""
-def getRunSpec():
- """Environment variable spec to run this test again, invoked from within
- dumpSessionInfo()."""
- return "%s%s" % (getArchSpec(None), getCCSpec(None))
-
def getArchSpec(architecture):
"""
Helper function to return the key-value string to specify the architecture
OpenPOWER on IntegriCloud