[wp-trac] [WordPress Trac] #56615: Running `build` scripts on Windows machines produces different results
WordPress Trac
noreply at wordpress.org
Mon Sep 26 11:54:04 UTC 2022
#56615: Running `build` scripts on Windows machines produces different results
-------------------------------------+-----------------------
Reporter: desrosj | Owner: gziolo
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------
Comment (by gziolo):
Thank you for sharing all the details, @jrf. It means that those workflows
for unit tests match the following conditions:
- `SCRIPT_DEBUG` is defined and set to `true` - same as when running units
on `wordpress-develop` CI
- `WP_RUN_CORE_TESTS` is not defined – that would be the difference
We can bring back (remove from git and svn ignore list) all the generated
files by `npm run build:dev` that are missing for the use cases you
mentioned.
The alternative would be identifying a constant or a condition that is
common for all test workflows, so we don't use dev files there that don't
have any impact on unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56615#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list