[parrot/parrot] 435168: [GH #887] Set darwin DYLD_LIBRARY_PATH when testin...

GitHub noreply at github.com
Sun Dec 16 16:19:16 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 4351688bc3f30dc6b7ebef07a17fecbfdaa820ce
      https://github.com/parrot/parrot/commit/4351688bc3f30dc6b7ebef07a17fecbfdaa820ce
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-16 (Sun, 16 Dec 2012)

  Changed paths:
    M lib/Parrot/Test.pm

  Log Message:
  -----------
  [GH #887] Set darwin DYLD_LIBRARY_PATH when testing

Set DYLD_LIBRARY_PATH in run_command() as this allows testing from
the command-line also.

Also fix Parrot::Test::path_to_parrot, which failed when INC was
just lib/Parrot/Config.pm. Use the more reliable __FILE__ instead
and check if short, relative path seperately.

BTW: This method should be thrown away, as it does not work on an
installed parrot.





More information about the parrot-commits mailing list