From: Matthias Maier Date: Tue, 15 Feb 2022 12:51:09 +0000 (-0600) Subject: CMake: Bugfix: Do not error out when not running performance tests X-Git-Tag: v9.4.0-rc1~491^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bd91ec82099a030871fe1196efcfe7602ebcc1b;p=dealii.git CMake: Bugfix: Do not error out when not running performance tests --- 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();