diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-12-01 17:28:29 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-12-02 12:02:42 +0100 |
commit | ce0eccc2d1b5d81746d2a89350e76a509fb73f4f (patch) | |
tree | a59d708cb718a1fd7d79261af94e624adef56ae7 /tests | |
parent | 87fa6544a601bbcf8a66470a1cc767739756b6ce (diff) | |
download | gnome-bluetooth-ce0eccc2d1b5d81746d2a89350e76a509fb73f4f.tar.gz |
tests: Print test name before running it out-of-process
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/integration-test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration-test b/tests/integration-test index 16b1360e..7c9a823d 100755 --- a/tests/integration-test +++ b/tests/integration-test @@ -297,6 +297,7 @@ class Tests(dbusmock.DBusTestCase): def run_test_process(self): # Get the calling function's name test_name = inspect.stack()[1][3] + print(f"Running out-of-process test {test_name}") # And run the test with the same name in the OopTests class in a separate process out = subprocess.run(self.exec_path + ['OopTests.' + test_name], capture_output=True) self.assertEqual(out.returncode, 0, "Running test " + test_name + " failed:" + out.stderr.decode('UTF-8') + '\n\n\nSTDOUT:\n' + out.stdout.decode('UTF-8')) |