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.
Follow-up to #2780093: Have simpletest, run-tests.sh enforce their dependency on PHPUnit
Problem/Motivation
We want d.o to ship a tarball without dev dependencies, for a variety of reasons including security. This means we have to change the build process so it uses composer install --no-dev
: #2745355: Use "composer install --no-dev" to create tagged core packages
#2780093: Have simpletest, run-tests.sh enforce their dependency on PHPUnit committed a change which caused simpletest and run-tests.sh to enforce their dependency on phpunit for 8.2.x and higher branches.
This issue does the same for 8.1.x.
Proposed resolution
- Add a PHPUnit check to simpletest_requirements().
- Add a PHPUnit check to run-tests.sh.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2804663_2.patch | 1.56 KB | Mile23 |
Comments
Comment #2
Mile23As it turns out, the same patch as #2780093-11: Have simpletest, run-tests.sh enforce their dependency on PHPUnit #11 applies to 8.1.x.
Unfortunately we can't run tests against 8.1.x in the issue.
Comment #3
dawehnerWhy do we need the same for 8.1.x given that 8.1.x is basically end of life now
Comment #4
Mile238.1.x just had a release yesterday...
Comment #5
dawehnerI thought though that we are not longer committing stuff to 8.1.x basically.
Comment #6
pfrenssen8.1.x is now EOL, this is not needed any more.