mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 16:41:43 +00:00
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. llvm-svn: 207272
This commit is contained in:
parent
03d91c51e4
commit
6817df65f0
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user