Opened 7 years ago
Closed 7 years ago
#43038 closed enhancement (duplicate)
Conditionally define temporary directories
Reported by: | Clorith | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
Unit-tests currently make use of the /tmp/
directory for things like media files in various places.
Not all systems have their temporary directory defined in such a way, in my case on a Windows system.
By providing a new DIR_TEST_TMP
constant we can conditionally set the temporary path in bootstrap.php
and allow tests to be ran more reliably on other systems as well.
This of course includes updating existing tests with the /tmp/
path hardcoded to be updated to reflect the new constant.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Related, possible duplicate of #39975?