diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2022-02-17 00:05:08 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2022-02-17 00:05:08 +0100 |
commit | d8d9606da77b1a6e881bfaebe7e7cf1a6a75504f (patch) | |
tree | b6e26ab1b6143b49a619c949a6b520eea59a1825 | |
parent | 62b7ac532d9201b5caf0f34471d5f4892b8a1b8c (diff) | |
download | cython-d8d9606da77b1a6e881bfaebe7e7cf1a6a75504f.tar.gz |
runtests: Print shard number also for each command in the EndToEnd test error output to make it easy to find in the logs.
-rwxr-xr-x | runtests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtests.py b/runtests.py index 66a22e8b5..91a0dd257 100755 --- a/runtests.py +++ b/runtests.py @@ -1767,8 +1767,8 @@ class EndToEndTest(unittest.TestCase): res = -1 if res != 0: for c, o, e in zip(cmd, out, err): - sys.stderr.write("%s\n%s\n%s\n\n" % ( - c, self._try_decode(o), self._try_decode(e))) + sys.stderr.write("[%d] %s\n%s\n%s\n\n" % ( + self.shard_num, c, self._try_decode(o), self._try_decode(e))) self.assertEqual(0, res, "non-zero exit status") self.success = True |