cmake-cookbook
cmake-cookbook copied to clipboard
Chapter 14, recipe 3 (Fortran) is marked as failing on Travis
The test fails because ASan does not detect a memory leak.
Possible reasons:
- compiler version
- trivial code gets optimized away
- code is wrapped in module/function and might need to be lifted to program level
Locally on my laptop (GNU Fortran (GCC) 8.2.0) the memory leak is detected and the test behaves normally.
Marked as failing in a171e43.
Also the C++ example fails on macOS. Marked as failng.