Here is evidence from some testing I was doing in the reconfigure/ branch that Parrot::Test::slurp_file() is not available during the configuration phase.
kid51
[li11-226:reconf] 510 $ prove t/configure/113-auto_attributes.t t/configure/config_steps.t t/configure/113-auto_attributes.... # Failed test 'use config::auto::attributes;' # at t/configure/113-auto_attributes.t line 11. # Tried to use 'config::auto::attributes'. # Error: # Parrot::Config is unavailable until you configure parrot. # Please run `perl Configure.pl`. # # Compilation failed in require at lib/Parrot/Test.pm line 270. # BEGIN failed--compilation aborted at t/configure/113-auto_attributes.t line 11. # Compilation failed in require at config/auto/attributes.pm line 24. # BEGIN failed--compilation aborted at config/auto/attributes.pm line 24. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. # Looks like you failed 1 test of 2. t/configure/113-auto_attributes....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/2 tests, 50.00% okay t/configure/config_steps...........NOK 63/80 # Failed test (t/configure/config_steps.t at line 37) # Tried to require ''config/auto/attributes.pm''. # Error: # Parrot::Config is unavailable until you configure parrot. # Please run `perl Configure.pl`. # # Compilation failed in require at lib/Parrot/Test.pm line 270. # BEGIN failed--compilation aborted at lib/Parrot/Test.pm line 270. # Compilation failed in require at config/auto/attributes.pm line 24. # BEGIN failed--compilation aborted at config/auto/attributes.pm line 24. # Compilation failed in require at (eval 77) line 2. # Looks like you failed 1 test of 80. t/configure/config_steps...........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 63 Failed 1/80 tests, 98.75% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/configure/113-auto_attributes.t 1 256 2 1 1 t/configure/config_steps.t 1 256 80 1 63 Failed 2/2 test scripts. 2/82 subtests failed. Files=2, Tests=82, 1 wallclock secs ( 0.14 cusr + 0.04 csys = 0.18 CPU) Failed 2/2 test programs. 2/82 subtests failed.