add debug output to py.in
authorChristian Grothoff <christian@grothoff.org>
Sat, 16 Feb 2019 15:37:02 +0000 (16:37 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sat, 16 Feb 2019 15:37:02 +0000 (16:37 +0100)
src/integration-tests/gnunet_testing.py.in

index 76ab3b0a0cfc463b4cb11511e64642f61af67401..1470c3d38041f2d1d2ed5bfb1acd894d027fc87d 100644 (file)
@@ -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