Juniper / libxo

The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.
http://juniper.github.io/libxo/libxo-manual.html
BSD 2-Clause "Simplified" License
321 stars 48 forks source link

libtool makes unreliable executable names #65

Closed philshafer closed 4 years ago

philshafer commented 5 years ago

libtool makes executable names that are not reliable, causing "make test" to fail with issues like:

https://reviews.freebsd.org/D20188

The fix is to use xo_program() with the basename of argv[0] to ensure consistent output.

Thanks, Phil

philshafer commented 4 years ago

xo_parse_args has been altered to notice the ".test" extention and remove it from binary names.

Thanks, Phil