libyang icon indicating copy to clipboard operation
libyang copied to clipboard

yanglint tests fail for release build

Open labuwx opened this issue 1 year ago • 1 comments

Hi,

Some tests in yanglint_interactive fail when are run on a release build. The tests in tests/yanglint/interactive/debug.test are only meant to be run on a debug build but the yanglint_debug check in tests/yanglint/interactive/ly.tcl does not do its job since commit 34e2a55. yanglint_debug looks for --debug= in the output of yanglint -h. However since 34e2a55, that string appears in release builds too.

labuwx avatar Jul 01 '24 16:07 labuwx

Right, the test seems useless anyway, removed.

michalvasko avatar Jul 02 '24 06:07 michalvasko