From: Christian Grothoff Date: Sat, 16 Feb 2019 15:37:02 +0000 (+0100) Subject: add debug output to py.in X-Git-Tag: v0.11.0~63^2~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=743ea291bd4cf84ee78adfc1fe0e35cedcff41a9;p=oweals%2Fgnunet.git add debug output to py.in --- diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in index 76ab3b0a0..1470c3d38 100644 --- a/src/integration-tests/gnunet_testing.py.in +++ b/src/integration-tests/gnunet_testing.py.in @@ -357,7 +357,9 @@ class Peer(object): if os.name == 'nt' and tests[1] == b'\n' and tests[0][-1] == b'\r': tests = (tests[0][:-1], tests[1], tests[2]) tests = tests[0] + print("running gnunet-statistics " + self.cfg + " for " + name + "/" + subsystem + " yields " + tests.decode("utf-8")) if (tests.isdigit() == True): return tests else: + print("Invalid statistics value: " + str(tests) + " is not a number!") return -1