Subject: | Tests fail with SWI Prolog 7.2.0 |
SWI Prolog 7.2.0 brought some syntax changes <http://www.swi-prolog.org/download/stable> and Language-Prolog-Yaswi-0.21's t/5opaque.t test fails now:
$ prove -b -v t/5opaque.t
t/5opaque.t ..
1..2
unknown SWI-Prolog type 0x7, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x9, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x7, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x9, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x9, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
not ok 1 - method called
ok 2 - bad method called
# Failed test 'method called'
# at t/5opaque.t line 18.
# got: undef
# expected: 'method foo called'
unknown SWI-Prolog type 0x7, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x9, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x7, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x9, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
unknown SWI-Prolog type 0x9, using undef at /home/test/fedora/perl-Language-Prolog-Yaswi/Language-Prolog-Yaswi-0.21/blib/lib/Language/Prolog/Yaswi/Low.pm line 37.
# Looks like you failed 1 test of 2.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests