summaryrefslogtreecommitdiff
path: root/test/math/simpson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/math/simpson.cpp')
-rw-r--r--test/math/simpson.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/math/simpson.cpp b/test/math/simpson.cpp
index d7cdba3..019caca 100644
--- a/test/math/simpson.cpp
+++ b/test/math/simpson.cpp
@@ -53,8 +53,10 @@ void stress_test() {
queries++;
}
}
- if (t.time > 5000) cerr << "too slow: " << t.time << FAIL;
- cerr << "tested random queries: " << queries << " (" << t.time << "ms)" << endl;
+ if (!sanitize) {
+ if (t.time > 5000) cerr << "too slow: " << t.time << FAIL;
+ cerr << "tested random queries: " << queries << " (" << t.time << "ms)" << endl;
+ }
}
int main() {