Skip to content

Commit d99b8f3

Browse files
committedFeb 27, 2015
Skip LaunchInTerminalTestCase test on remote systems
Summary: This ability was added by @jasonmolenda in [[ http://reviews.llvm.org/rL225748 | r225748 ]] but it was commented out because he hadn't test it. I tested it on OS X and now we can enable it legally. This change is made by @chying request. Reviewers: jasonmolenda, chying, clayborg Reviewed By: clayborg Subscribers: lldb-commits, chying, jasonmolenda, clayborg Differential Revision: http://reviews.llvm.org/D7930 llvm-svn: 230782
1 parent aa069c2 commit d99b8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎lldb/test/functionalities/tty/TestTerminal.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ class LaunchInTerminalTestCase(TestBase):
2222
# privilege so it can't open the socket to talk back to the test case
2323
@unittest2.skipUnless(os.geteuid() != 0, "test cannot be run as root")
2424

25-
# Do we need to disable this test if the testsuite is being run on a rmeote system?
25+
# Do we need to disable this test if the testsuite is being run on a remote system?
2626
# This env var is only defined when the shell is running in a local mac terminal window
27-
# @unittest2.skipUnless(os.environ.has_key('TERM_PROGRAM'), "test must be run on local system")
27+
@unittest2.skipUnless(os.environ.has_key('TERM_PROGRAM'), "test must be run on local system")
2828

2929
def test_launch_in_terminal (self):
3030
exe = "/bin/ls"

0 commit comments

Comments
 (0)
Please sign in to comment.