Skip to content
Snippets Groups Projects
Commit 030709d0 authored by Johnny Chen's avatar Johnny Chen
Browse files

test_set_output_path() should restore the original setting of target.process.output-path

after running the program.

llvm-svn: 116873
parent 49249493
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,9 @@ class SettingsCommandTestCase(TestBase): ...@@ -120,6 +120,9 @@ class SettingsCommandTestCase(TestBase):
self.runCmd("run", RUN_SUCCEEDED) self.runCmd("run", RUN_SUCCEEDED)
# Restore the original setting now that the program has been run.
self.runCmd("settings set -r target.process.output-path")
# The 'stdout.txt' file should now exist. # The 'stdout.txt' file should now exist.
self.assertTrue(os.path.isfile("stdout.txt"), self.assertTrue(os.path.isfile("stdout.txt"),
"'stdout.txt' exists due to target.process.output-path.") "'stdout.txt' exists due to target.process.output-path.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment