HomePhorge

(#14962) PMT doesn't support setting a relative modulepath
39f0bf443b55Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#14962) PMT doesn't support setting a relative modulepath

We previously fixed expansion for the target_dir, but this only worked when the
target_dir was set explicitly, it didn't support relative paths being passed in
the modulepath. This patch fixes that and adds tests.

As a side-effect, this should also fixes cases where the first modulepath
defined in the configuration file is relative.

It also corrects the tests previously applied for expanding the target_dir, as
it used to rely on expanding the target_dir before adding it to the modulepath.
This wasn't necessary, so now we don't bother testing that the targetdir is
expanded in the modulepath after being added.

Acceptance tests have been added for testing modulepath, with absolute
and relative paths.

Details

Provenance
Ken Barber <ken@bob.sh>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU590ef5001d7c: Merge pull request #596 from domcleal/tickets/2.7.x/13379-aug-pluginsync
Branches
Unknown
Tags
Unknown

Event Timeline