#1544: t/profiling/profiling.t fails on darwin
----------------------+-----------------------------------------------------
Reporter: dukeleto | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: testing | Version: 2.2.0
Severity: high | Keywords:
Lang: | Patch:
Platform: darwin |
----------------------+-----------------------------------------------------
Comment(by coke):
Replying to [comment:1 Benabik]:
> Using git-svn, I bisected the problem to r45337: "[proftest] use more
generic, if predictable, temp files". Reverting it allows the test to
complete. My guess is that it's related to how %config<tempdir> is (or
isn't) set on Darwin, since my quick search doesn't show any other use of
it.
Good call. on darwin, my tempdir in config_lib.pasm is set to:
{{{
set P0["tempdir"], "/var/folders/Bh/BhrBssnnHYqX6SDI8N3S1U+++TM/-Tmp-"
}}}
Which looks like its intended to be a one-time use tempdir, not something
that we can save and reuse elsewhere. Looks like it's set here:
{{{
config/init/defaults.pm
244: tempdir => File::Spec->tmpdir,
}}}
If we intend to reuse this tempdir outside of config time, we need to fix
this setting. FYI, I can duplicate the test failure; If I change my
tempdir in config_lib.pasm to "/tmp", the test passes.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1544#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets