diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-16 16:37:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-16 16:37:02 +0100 |
commit | 743ea291bd4cf84ee78adfc1fe0e35cedcff41a9 (patch) | |
tree | cca53ced51e516824ef62891c5b38c2d53816963 | |
parent | d51448ba0891681e0f09954379e31d1c21dde893 (diff) | |
download | gnunet-743ea291bd4cf84ee78adfc1fe0e35cedcff41a9.tar.gz gnunet-743ea291bd4cf84ee78adfc1fe0e35cedcff41a9.zip |
add debug output to py.in
-rw-r--r-- | src/integration-tests/gnunet_testing.py.in | 2 |
1 files changed, 2 insertions, 0 deletions
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): | |||
357 | if os.name == 'nt' and tests[1] == b'\n' and tests[0][-1] == b'\r': | 357 | if os.name == 'nt' and tests[1] == b'\n' and tests[0][-1] == b'\r': |
358 | tests = (tests[0][:-1], tests[1], tests[2]) | 358 | tests = (tests[0][:-1], tests[1], tests[2]) |
359 | tests = tests[0] | 359 | tests = tests[0] |
360 | print("running gnunet-statistics " + self.cfg + " for " + name + "/" + subsystem + " yields " + tests.decode("utf-8")) | ||
360 | if (tests.isdigit() == True): | 361 | if (tests.isdigit() == True): |
361 | return tests | 362 | return tests |
362 | else: | 363 | else: |
364 | print("Invalid statistics value: " + str(tests) + " is not a number!") | ||
363 | return -1 | 365 | return -1 |