projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6091417
)
Use skipIf instead of skipUnless in TestTerminal for better readability.
author
Chaoren Lin
<chaorenl@google.com>
Sat, 6 Jun 2015 14:51:34 +0000
(14:51 +0000)
committer
Chaoren Lin
<chaorenl@google.com>
Sat, 6 Jun 2015 14:51:34 +0000
(14:51 +0000)
llvm-svn: 239220
lldb/test/functionalities/tty/TestTerminal.py
patch
|
blob
|
history
diff --git
a/lldb/test/functionalities/tty/TestTerminal.py
b/lldb/test/functionalities/tty/TestTerminal.py
index
8777756
..
3905459
100644
(file)
--- a/
lldb/test/functionalities/tty/TestTerminal.py
+++ b/
lldb/test/functionalities/tty/TestTerminal.py
@@
-20,7
+20,7
@@
class LaunchInTerminalTestCase(TestBase):
# If the test is being run under sudo, the spawned terminal won't retain that elevated
# privilege so it can't open the socket to talk back to the test case
- @unittest2.skip
Unless(not hasattr(os, 'geteuid') or os.geteuid() !
= 0,
+ @unittest2.skip
If(hasattr(os, 'geteuid') and os.geteuid() =
= 0,
"test cannot be run as root")
# Do we need to disable this test if the testsuite is being run on a remote system?