[Lldb-commits] [lldb] r207272 - Modify TestSettings test for stderr.txt/stdout.txt to ignore an
Todd Fiala
todd.fiala at gmail.com
Fri Apr 25 14:04:48 PDT 2014
Author: tfiala
Date: Fri Apr 25 16:04:48 2014
New Revision: 207272
URL: http://llvm.org/viewvc/llvm-project?rev=207272&view=rev
Log:
Modify TestSettings test for stderr.txt/stdout.txt to ignore an
optional path prior to the file base name.
On Linux x86_64 (Ubuntu 12.04) I am sometimes getting a full path
on the stderr.txt. This changes the test for target.error-path and
target.output-path settings to ignore any optional directory before
the expected file base name.
Modified:
lldb/trunk/test/settings/TestSettings.py
Modified: lldb/trunk/test/settings/TestSettings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/settings/TestSettings.py?rev=207272&r1=207271&r2=207272&view=diff
==============================================================================
--- lldb/trunk/test/settings/TestSettings.py (original)
+++ lldb/trunk/test/settings/TestSettings.py Fri Apr 25 16:04:48 2014
@@ -290,11 +290,11 @@ class SettingsCommandTestCase(TestBase):
self.expect("settings show target.error-path",
SETTING_MSG("target.error-path"),
- startstr = 'target.error-path (file) = "stderr.txt"')
+ substrs = ['target.error-path (file) = ', 'stderr.txt"'])
self.expect("settings show target.output-path",
SETTING_MSG("target.output-path"),
- startstr = 'target.output-path (file) = "stdout.txt"')
+ substrs = ['target.output-path (file) = ', 'stdout.txt"'])
self.runCmd("run", RUN_SUCCEEDED)
More information about the lldb-commits
mailing list