summaryrefslogtreecommitdiff
path: root/test/string/kmp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/string/kmp.cpp')
-rw-r--r--test/string/kmp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/string/kmp.cpp b/test/string/kmp.cpp
index 2364efd..8ebeb64 100644
--- a/test/string/kmp.cpp
+++ b/test/string/kmp.cpp
@@ -78,8 +78,8 @@ void performance_test_kmp() {
int main() {
cerr << "preprocessing:" << endl;
stress_test_preprocessing();
- performance_test_preprocessing();
+ if (!sanitize) performance_test_preprocessing();
cerr << "kmp:" << endl;
stress_test_kmp();
- performance_test_kmp();
+ if (!sanitize) performance_test_kmp();
}