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.
While trying to convert t.d.o to use the shell script I ran into this issue.
The --php parameter does not work properly.
DamZ figured it out in IRC and this fix works.
Comment | File | Size | Author |
---|---|---|---|
#8 | 322843-fix-run-tests-for-good.patch | 1.06 KB | Damien Tournoud |
run-tests.php-param.patch | 500 bytes | boombatower | |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedComment #2
Damien Tournoud CreditAttribution: Damien Tournoud commentedThe logical order is: patch by myself, RTBC by boombatower.
This is a testing.drupal.org blocker at the moment.
Comment #3
boombatower CreditAttribution: boombatower commentedPlease make sure you are in contact with me when this goes in as I need to update t.d.o.
Otherwise it will get a bunch of incorrect results.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
moshe weitzman CreditAttribution: moshe weitzman commentedActually, now you have broken automatic discovery of the php path. Back to where we started.
The first condition below is now always true.
Comment #6
Damien Tournoud CreditAttribution: Damien Tournoud commented@moshe: isset() returns FALSE when an array item is set to NULL (strange, but true).
Do you have any issue with the autodetection?
Comment #7
moshe weitzman CreditAttribution: moshe weitzman commentedYes, I get this output. Clearly only the initial php script worked.
Comment #8
Damien Tournoud CreditAttribution: Damien Tournoud commentedPfff. Sorry about that.
Comment #9
moshe weitzman CreditAttribution: moshe weitzman commentedConfirmed that this fixed auto-discovery issue.
Comment #10
Damien Tournoud CreditAttribution: Damien Tournoud commentedAlso confirmed we did not introduce a regression.
Comment #11
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.