#128: Honor source types in Parrot_locate_runtime_file
--------------------+-------------------------------------------------------
 Reporter:  rurban  |       Owner:  rurban      
     Type:  patch   |      Status:  assigned    
 Priority:  minor   |   Milestone:              
Component:  core    |     Version:  branch      
 Severity:  medium  |    Keywords:  pdd30install
     Lang:          |       Patch:  new         
 Platform:  all     |  
--------------------+-------------------------------------------------------
Changes (by jkeenan):

  * type:  bug => patch
  * patch:  applied => new


Comment:

 Since this ticket had not been touched in 12 months, tonight I tried
 running the tests in the patch against trunk.  Given the patch's relative
 age, it is perhaps not surprising that the tests failed:
 {{{
 prove -v t/src/library.t
 t/src/library.t ..
 1..3
 not ok 1 - Parrot_locate_runtime_file

 #   Failed test 'Parrot_locate_runtime_file'
 #   at t/src/library.t line 40.
 # Exited with error code: [SIGNAL 11]
 # Received:
 #
 # Expected:
 # ./runtime/parrot/library/Data/Dumper.pir
 # ./runtime/parrot/library/Data/Dumper.pbc
 # ./runtime/parrot/library/Data/Dumper.pbc
 # (null)
 # ./runtime/parrot/library/Data/Dumper.pir
 #
 # 'cc -o t/src/library_2 t/src/library_2.o src/parrot_config.o
 -L/home/jimk/work/parrot/blib/lib -lparrot
 -Wl,-rpath=/home/jimk/work/parrot/blib/lib
 -fstack-protector -L/usr/local/lib -Wl,-E
 -lpthread -lm -L/usr/lib  -licuuc -licudata
 -lpthread -lm -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt -lgmp
 -lreadline '
 failed with exit code 1
 # Failed to build 't/src/library_2': t/src/library_2.o: In function
 `main':
 # /home/jimk/work/parrot/t/src/library_2.c:18: undefined reference to
 `const_string'
 # /home/jimk/work/parrot/t/src/library_2.c:19: undefined reference to
 `const_string'
 # /home/jimk/work/parrot/t/src/library_2.c:19: undefined reference to
 `string_concat'
 # collect2: ld returned 1 exit status
 not ok 2 - FT_DYNEXT

 #   Failed test 'FT_DYNEXT'
 #   at t/src/library.t line 86.
 not ok 3 - FT_SOURCE, FT_PIR # TODO TT #128 force pir
 #   Failed (TODO) test 'FT_SOURCE, FT_PIR'
 #   at t/src/library.t line 132.
 # Exited with error code: [SIGNAL 11]
 # Received:
 #
 # Expected:
 # ./runtime/parrot/library/Data/Dumper.pir
 # ./runtime/parrot/library/Data/Dumper.pir
 #
 # Looks like you failed 2 tests of 3.
 Dubious, test returned 2 (wstat 512, 0x200)
 Failed 2/3 subtests

 Test Summary Report
 -------------------
 t/src/library.t (Wstat: 512 Tests: 3 Failed: 2)
   Failed tests:  1-2
   Non-zero exit status: 2
 Files=1, Tests=3,  2 wallclock secs ( 0.01 usr  0.00 sys +  0.59 cusr
 0.14 csys =  0.74 CPU)
 Result: FAIL
 }}}
 Is there anything that can be salvaged here?  Or should we simply reject?

 Thank you very much.[[BR]]
 kid51

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/128#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to