Linktest -h/--help fails if no communication APIs are installed
If Linktest is build without support for any communication APIs then Linktest builds. The linktest executable fails for all communication APIs, which is what it should do. However, help should still work. Currently it errors out when trying to print the list of supported communication APIs.
Here is the error:
...
--min-iterations VAL linktest repeats for at least <min_iterations> (1)
--min-runtime VAL linktest runs for at least <min_runtime> seconds communication time (0.0)
-o/--output VAL output file name (pingpong_results_bin.sion)
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase: __pos (which is 18446744073709551615) > this->size() (which is 1)
Aborted (core dumped)
Edited by Max Holicki