tobyink / p5-app-perlrdf

1 stars 1 forks source link

fails test 6 of t/02translate.t #1

Open tobyink opened 3 years ago

tobyink commented 3 years ago

Migrated from rt.cpan.org #99462 (status was 'new')

Requestors:

Attachments:

From dr@jones.dk on 2014-10-13 16:33:15 :

Trying to package App::perlrdf 0.006 for Debian, I ran into this:

/usr/bin/make -C . CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" test TEST_VERBOSE=1 make[1]: Entering directory '/tmp/buildd/perlrdf-0.006' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/.t t/01basic.t ...... 1..1 ok 1 - use App::perlrdf; ok

Failed test 'output contains some known data'

at t/02translate.t line 34.

Triples that had no results:

(triple ?d http://usefulinc.com/ns/doap#name "App-perlrdf")

(triple ?d http://usefulinc.com/ns/doap#license http://dev.perl.org/licenses/)

(triple ?d http://usefulinc.com/ns/doap#release ?r)

(triple ?r http://usefulinc.com/ns/doap#revision "0.001"^^http://www.w3.org/2001/XMLSchema#string)

Looks like you failed 1 test of 6.

t/02translate.t .. 1..6 ok 1 - nothing sent to STDERR ok 2 - threw no exceptions ok 3 - exit code 0 ok 4 - JSON output to STDOUT ok 5 - Data is an RDF::Trine::Model. not ok 6 - output contains some known data Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests

--

jonassmedegaard commented 2 years ago

Revisiting this issue ~7 years later, it unfortunately still fails:

#   Failed test 'output contains some known data'
#   at t/02translate.t line 34.
# Triples that had no results:
# (triple ?d <http://usefulinc.com/ns/doap#name> "App-perlrdf")
# (triple ?d <http://usefulinc.com/ns/doap#license> <http://dev.perl.org/licenses/>)
# (triple ?d <http://usefulinc.com/ns/doap#release> ?r)
# (triple ?r <http://usefulinc.com/ns/doap#revision> "0.001"^^<http://www.w3.org/2001/XMLSchema#string>)
# Looks like you failed 1 test of 6.
t/02translate.t ..
1..6
ok 1 - nothing sent to STDERR
ok 2 - threw no exceptions
ok 3 - exit code 0
ok 4 - JSON output to STDOUT
ok 5 - Data is an RDF::Trine::Model.
not ok 6 - output contains some known data
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests