|
I have #ifdef controlled benchmarks. It may be the case that no benchmarks end up being defined in the *_bm executable. This isn't considered an error. It's still a valid program that just starts up and generates a report that it did nothing, and exits with exit code 0.
Resmoke however, is not able to handle this possibility.
https://parsley.mongodb.com/evergreen/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d2ca80c9ec44150d4678b3_23_01_26_18_54_50/0/task?bookmarks=0,387,429,437,690
To work around this, I would have to define a dummy benchmark unconditionally just to deal with resmoke, which isn't ideal.
|