summaryrefslogtreecommitdiff
path: root/test/lib/profiling.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/profiling.py')
-rw-r--r--test/lib/profiling.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/profiling.py b/test/lib/profiling.py
index 6ca28d462..e02c4ce46 100644
--- a/test/lib/profiling.py
+++ b/test/lib/profiling.py
@@ -229,6 +229,9 @@ def function_call_count(variance=0.05):
raise SkipTest("cProfile is not installed")
if not _profile_stats.has_stats() and not _profile_stats.write:
+ # run the function anyway, to support dependent tests
+ # (not a great idea but we have these in test_zoomark)
+ fn(*args, **kw)
raise SkipTest("No profiling stats available on this "
"platform for this function. Run tests with "
"--write-profiles to add statistics to %s for "