[lldb/Test] Skip test using files to synchronize.

Files written by the inferior are not captured by the reproducers and
the inferior doesn't actually run during replay.
This commit is contained in:
Jonas Devlieghere 2020-05-14 12:27:26 -07:00
parent 4532a50899
commit 2d6f4fec07
2 changed files with 5 additions and 0 deletions

View File

@ -203,10 +203,12 @@ class SettingsCommandTestCase(TestBase):
substrs=["5ah"])
@skipIfDarwinEmbedded # <rdar://problem/34446098> debugserver on ios etc can't write files
@skipIfReproducer
def test_run_args_and_env_vars(self):
self.do_test_run_args_and_env_vars(use_launchsimple=False)
@skipIfDarwinEmbedded # <rdar://problem/34446098> debugserver on ios etc can't write files
@skipIfReproducer
def test_launchsimple_args_and_env_vars(self):
self.do_test_run_args_and_env_vars(use_launchsimple=True)
@ -286,6 +288,7 @@ class SettingsCommandTestCase(TestBase):
"Environment variable 'MY_ENV_VAR' successfully passed."])
@skipIfRemote # it doesn't make sense to send host env to remote target
@skipIfReproducer
def test_pass_host_env_vars(self):
"""Test that the host env vars are passed to the launched process."""
self.build()
@ -382,6 +385,7 @@ class SettingsCommandTestCase(TestBase):
"The host environment variable 'MY_HOST_ENV_VAR2' successfully passed."])
@skipIfDarwinEmbedded # <rdar://problem/34446098> debugserver on ios etc can't write files
@skipIfReproducer
def test_set_error_output_path(self):
"""Test that setting target.error/output-path for the launched process works."""
self.build()

View File

@ -64,6 +64,7 @@ class SettingsCommandTestCase(TestBase):
def test_bare_double(self):
self.do_test_args('a\\"b', 'a"b\0')
@skipIfReproducer # Reproducers don't know about output.txt
def do_test_args(self, args_in, args_out):
"""Test argument parsing. Run the program with args_in. The program dumps its arguments
to stdout. Compare the stdout with args_out."""