From 3bd91ec82099a030871fe1196efcfe7602ebcc1b Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 15 Feb 2022 06:51:09 -0600 Subject: [PATCH] CMake: Bugfix: Do not error out when not running performance tests --- tests/performance/performance_test_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/performance/performance_test_driver.h b/tests/performance/performance_test_driver.h index 10affa3e95..3e8efdb2e8 100644 --- a/tests/performance/performance_test_driver.h +++ b/tests/performance/performance_test_driver.h @@ -127,7 +127,7 @@ main(int argc, char *argv[]) #ifndef ENABLE_PERFORMANCE_TESTS pout << "Performance test framework disabled, do not run test." << std::endl; - return 1; + return 0; #endif const auto description = describe_measurements(); -- 2.39.5