Remove calibrate tests in Python bindings
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 14 Jun 2016 22:44:08 +0000 (18:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Oct 2016 16:16:05 +0000 (12:16 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
extras/bindings/swig/python/tests/tests.py

index a4be98147f641746bb0ef810bcdf2dbf3a831f9e..edfb5e20563ec8286f876c37e1b1c5887eaa5b48 100644 (file)
@@ -233,9 +233,6 @@ class TestLttngPythonModule (unittest.TestCase):
                event.type=EVENT_TRACEPOINT
                event.loglevel_type=EVENT_LOGLEVEL_ALL
 
-               calib = Calibrate()
-               calib.type = CALIBRATE_FUNCTION
-
                ctx = EventContext()
                ctx.type=EVENT_CONTEXT_PID
 
@@ -255,10 +252,6 @@ class TestLttngPythonModule (unittest.TestCase):
                r = enable_event(han, event, None)
                self.assertGreaterEqual(r, 0, strerror(r))
 
-               #Calibrate test
-               r = calibrate(han , calib)
-               self.assertGreaterEqual(r, 0, strerror(r))
-
                #Context test
                r = add_context(han, ctx, "sched_switch", "channel0")
                self.assertGreaterEqual(r, 0, strerror(r))
This page took 0.028718 seconds and 4 git commands to generate.