]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: Do not error out when not running performance tests 13386/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 15 Feb 2022 12:51:09 +0000 (06:51 -0600)
committerMatthias Maier <tamiko@43-1.org>
Tue, 15 Feb 2022 12:51:09 +0000 (06:51 -0600)
tests/performance/performance_test_driver.h

index 10affa3e95552da36e08efcf4abb55211cbf9aaf..3e8efdb2e89c44a52aa45ef9431fdd08569535bc 100644 (file)
@@ -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();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.