You can run that test individually like this (assuming you previously ran make test
so all the unit test code is built):
cd lib/maths/unittest
./ml_test --run_test=CBayesianOptimisationTest/testMaximumExpectedImprovement
This is what I see when I do that:
Running 1 test case...
2020-07-29 08:12:03,855221 UTC [4405] DEBUG CTestObserver.cc@23 +------------------------------------------------------------+
2020-07-29 08:12:03,855313 UTC [4405] DEBUG CTestObserver.cc@24 | CBayesianOptimisationTest/testMaximumExpectedImprovement |
2020-07-29 08:12:03,855323 UTC [4405] DEBUG CTestObserver.cc@25 +------------------------------------------------------------+
2020-07-29 08:12:04,364666 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 60.0624, % improvement RS = 35.4576
2020-07-29 08:12:04,925346 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 13.7483, % improvement RS = 0
2020-07-29 08:12:05,408619 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 8.06812, % improvement RS = 4.17033
2020-07-29 08:12:06,432775 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 92.8491, % improvement RS = 71.9993
2020-07-29 08:12:06,887594 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 39.7416, % improvement RS = 14.5358
2020-07-29 08:12:07,538218 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 80.5928, % improvement RS = 59.4046
2020-07-29 08:12:07,992483 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 41.0946, % improvement RS = 24.69
2020-07-29 08:12:08,441352 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 54.3243, % improvement RS = 17.3618
2020-07-29 08:12:08,980578 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 33.8824, % improvement RS = 25.7448
2020-07-29 08:12:09,472610 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 94.8113, % improvement RS = 32.3035
2020-07-29 08:12:10,072331 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 71.0107, % improvement RS = 62.1166
2020-07-29 08:12:10,405810 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 39.8728, % improvement RS = 27.7905
2020-07-29 08:12:11,071414 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 12.8327, % improvement RS = 0
2020-07-29 08:12:11,529477 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 29.7552, % improvement RS = 20.5083
2020-07-29 08:12:12,036492 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 85.1209, % improvement RS = 29.2093
2020-07-29 08:12:12,561507 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 45.6663, % improvement RS = 25.6787
2020-07-29 08:12:13,041572 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 70.5058, % improvement RS = 50.2083
2020-07-29 08:12:13,529508 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 74.2169, % improvement RS = 38.4275
2020-07-29 08:12:14,109159 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 47.1911, % improvement RS = 11.6442
2020-07-29 08:12:14,603419 UTC [4405] DEBUG CBayesianOptimisationTest.cc@317 % improvement BO = 33.9187, % improvement RS = 0
2020-07-29 08:12:14,603456 UTC [4405] DEBUG CBayesianOptimisationTest.cc@324 mean % improvement BO = 51.4633
2020-07-29 08:12:14,603464 UTC [4405] DEBUG CBayesianOptimisationTest.cc@326 mean % improvement RS = 27.5626
2020-07-29 08:12:14,603509 UTC [4405] INFO CTestObserver.cc@35 Unit test timing - CBayesianOptimisationTest/testMaximumExpectedImprovement took 10748ms
You will see the test failure error message at some point during that output.
Did you change any code? If you did then that may be the cause of your failure.
If you didn't change any code then the problem may be related to the exact platform you're running on. What is your OS, OS version and hardware architecture? For example, if you are trying to get the ML code to compile on Linux on s390x, PowerPC or RaspberryPi then it's not surprising if there are differences in the floating point implementation on those different hardware architectures.