pyang
pyang copied to clipboard
"make check" / "make test"
I see that "make test" runs lint, which uses flake8 to verify style. Are there any functional/unit test cases that I'm overlooking?
Like, why doesn't it, "make -C test test" ? (And why didn't the (cd test && make test) that I now notice not work for me the first time)
I can't get "make test" to work, test_verbose is really backwards done, and I seem to randomly get:
/sandel/src/pyang/test/../bin/pyang --mef mef-yt10.yang || exit 1; \
/sandel/src/pyang/test/../bin/pyang --mef mef-yt11.yang || exit 1; \
/sandel/src/pyang/test/../bin/pyang --ieee ieee-yt12.yang || exit 1;
mef-yt10.yang:899: warning: line length 84 exceeds 70 characters
mef-yt11.yang:899: warning: line length 84 exceeds 70 characters
checking yt2.yang.gen.yang...error yt2.yang.gen.yang: [Errno 2] No such file or directory: 'yt2.yang.gen.yang'
About the random errors, this can be resolved by a make clean
. The problem is fixed in 902c578.