diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-01-27 02:58:54 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-01-27 02:58:54 +0000 |
commit | 3ff8e96cf7f8e1b153b4a201fa35ca8ec54b42b2 (patch) | |
tree | 043bdca4294fe5309201e7215b71420eca56c008 /lldb/test/plugins/darwin.py | |
parent | 064b0345f5318f7142dad9f0cec745ba0ce0160d (diff) | |
download | bcm5719-llvm-3ff8e96cf7f8e1b153b4a201fa35ca8ec54b42b2.tar.gz bcm5719-llvm-3ff8e96cf7f8e1b153b4a201fa35ca8ec54b42b2.zip |
Some cleanup to plugins/darwin.py after the recent additions of '-A arch' and '-C compiler'
command line options to the test driver. Replace TestBase.getRunSpec() with TestBase.getRunOptions().
llvm-svn: 124353
Diffstat (limited to 'lldb/test/plugins/darwin.py')
-rw-r--r-- | lldb/test/plugins/darwin.py | 9 |
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 |