summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-12-01 17:28:29 +0100
committerBastien Nocera <hadess@hadess.net>2021-12-02 12:02:42 +0100
commitce0eccc2d1b5d81746d2a89350e76a509fb73f4f (patch)
treea59d708cb718a1fd7d79261af94e624adef56ae7 /tests
parent87fa6544a601bbcf8a66470a1cc767739756b6ce (diff)
downloadgnome-bluetooth-ce0eccc2d1b5d81746d2a89350e76a509fb73f4f.tar.gz
tests: Print test name before running it out-of-process
Diffstat (limited to 'tests')
-rwxr-xr-xtests/integration-test1
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'))