syck icon indicating copy to clipboard operation
syck copied to clipboard

Unit Test Failure

Open jesseadams opened this issue 15 years ago • 2 comments

 $ make check
Making check in lib
make[1]: Entering directory `/home/jadams1/git/syck/lib'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/jadams1/git/syck/lib'
Making check in tests
make[1]: Entering directory `/home/jadams1/git/syck/tests'
make  check-TESTS
make[2]: Entering directory `/home/jadams1/git/syck/tests'
....

OK (4 tests)

PASS: test-basic
......

OK (6 tests)

PASS: test-parse
Error at [Line 1, Col 4]: TAB found in your indentation, please remove
Error at [Line 1, Col 4]: syntax error, unexpected $end, expecting YAML_INDENT or YAML_IEND
F..................................................

There was 1 failure:
1) YtsFoldedScalars_7: expected <30> but was <40>

!!!FAILURES!!!
Runs: 51 Passes: 50 Fails: 1

FAIL: test-yts
..

OK (2 tests)

PASS: test-emit
===================
1 of 4 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/home/jadams1/git/syck/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/jadams1/git/syck/tests'
make: *** [check-recursive] Error 1

jesseadams avatar Jan 09 '11 17:01 jesseadams

this is a known issue. piece of functionality, which Why started, but didn't finish. I believe this should be fixed at parser/lexer level and I just don't know enough to do it properly.

patches are welcome :)

indeyets avatar Jan 09 '11 18:01 indeyets

Any progress on this issue?

I downloaded the zip of master today. I needed to install automake and ibtool for ./configure to work (though it had a lot of warnings), and needed to install bison for ./bootstrap to work.

After running make, make check gives me

Making check in lib
make[1]: Entering directory `/home/dennis/Downloads/syck-master/lib'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/dennis/Downloads/syck-master/lib'
Making check in tests
make[1]: Entering directory `/home/dennis/Downloads/syck-master/tests'
make  check-TESTS
make[2]: Entering directory `/home/dennis/Downloads/syck-master/tests'
make[3]: Entering directory `/home/dennis/Downloads/syck-master/tests'
PASS: test-basic
PASS: test-parse
FAIL: test-yts
PASS: test-emit
make[4]: Entering directory `/home/dennis/Downloads/syck-master/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dennis/Downloads/syck-master/tests'
============================================================================
Testsuite summary for syck 0.70
============================================================================
# TOTAL: 4
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory `/home/dennis/Downloads/syck-master/tests'
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory `/home/dennis/Downloads/syck-master/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/dennis/Downloads/syck-master/tests'
make: *** [check-recursive] Error 1

I don't know what yts is, is it critical for syck to work? The final step, sudo make install, seems to have finished without issues.

Update: locate syck.so doesn't return anything, so I'm guessing it's not properly installed.

dideler avatar Jan 06 '14 19:01 dideler