[MacPorts] #60722: test.env doesn't work
MacPorts
noreply at macports.org
Sat Jun 27 12:57:35 UTC 2020
#60722: test.env doesn't work
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.99
Keywords: | Port:
------------------------+--------------------
I had to implement the test phase of the [browser:macports-
ports/audio/espeak/Portfile espeak portfile] like this:
{{{
test.cmd DYLD_LIBRARY_PATH=${build.dir} \
ESPEAK_DATA_PATH=${worksrcpath} \
./espeak
}}}
I originally tried this:
{{{
test.cmd ./espeak
test.env DYLD_LIBRARY_PATH=${build.dir} \
ESPEAK_DATA_PATH=${worksrcpath}
}}}
But this didn't work. The environment variables didn't get passed to the
espeak binary. I think that's a bug in base.
--
Ticket URL: <https://trac.macports.org/ticket/60722>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list