forked from OSchip/llvm-project
Pretty print the run options for dumpSessionInfo(self) client.
llvm-svn: 138466
This commit is contained in:
parent
ba3b99ef1c
commit
b7bdd1001e
|
|
@ -777,11 +777,13 @@ class Base(unittest2.TestCase):
|
||||||
self.dumpSessionInfo()."""
|
self.dumpSessionInfo()."""
|
||||||
arch = self.getArchitecture()
|
arch = self.getArchitecture()
|
||||||
comp = self.getCompiler()
|
comp = self.getCompiler()
|
||||||
if not arch and not comp:
|
if arch:
|
||||||
return ""
|
option_str = "-A " + arch
|
||||||
else:
|
else:
|
||||||
return "%s %s" % ("-A "+arch if arch else "",
|
option_str = ""
|
||||||
"-C "+comp if comp else "")
|
if comp:
|
||||||
|
option_str += "-C " + comp
|
||||||
|
return option_str
|
||||||
|
|
||||||
# ==================================================
|
# ==================================================
|
||||||
# Build methods supported through a plugin interface
|
# Build methods supported through a plugin interface
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue