Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
See #2687783: Run Javascript tests without breaking contrib. We need to limit by type with all the different options that run-tests.sh takes to decide which tests to run.
Proposed resolution
If the option for example --directory
does not automatically limit by type then remove tests which are not the correct type.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#3 | 2687837-3.patch | 1.7 KB | alexpott |
#2 | 2687837-2.patch | 1.51 KB | alexpott |
Comments
Comment #2
alexpottComment #3
alexpottA more elegant approach...
Comment #4
alexpottTest evidence...
Comment #5
MixologicThis appears to work for the testbots. We've ran some tests that include this patch, and everything works as expected.
Comment #6
dawehnerIts so sad that this code itself cannot yet be tested properly.
Comment #7
MixologicAre you referring to the testbots or to run-tests.sh ?
Comment #10
catchCommitted/pushed to all three 8.x branches, thanks!