Fresh backport of Drupal 7 SimpleTest

boombatower - September 3, 2009 - 15:16
Project:SimpleTest
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:boombatower
Status:closed
Description

Just in time for freeze/slush/whatever...I'm making a backport. This will also be useful for the push to write tests for views.

Please report any issues with this port and help me close related backport issues.

#1

boombatower - September 3, 2009 - 15:17
Assigned to:Anonymous» boombatower
Status:active» needs review

Initial patch, early in the process...first run over DWTC.

AttachmentSize
567422-simpletest-backport.patch 47.98 KB

#2

boombatower - September 3, 2009 - 16:15

Getting closer. Current issues when I visit tests page:

    * Notice: Array to string conversion in drupal_validate_utf8() (line 768 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).
    * Warning: preg_match() expects parameter 2 to be string, array given in drupal_validate_utf8() (line 771 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).
    * Notice: Array to string conversion in drupal_validate_utf8() (line 768 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).
    * Warning: preg_match() expects parameter 2 to be string, array given in drupal_validate_utf8() (line 771 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).
    * Notice: Array to string conversion in drupal_validate_utf8() (line 768 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).
    * Warning: preg_match() expects parameter 2 to be string, array given in drupal_validate_utf8() (line 771 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).
    * Notice: Array to string conversion in drupal_validate_utf8() (line 768 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).
    * Warning: preg_match() expects parameter 2 to be string, array given in drupal_validate_utf8() (line 771 of /home/boombatower/software/drupal-6/includes/bootstrap.inc).

AttachmentSize
567422-simpletest-backport.patch 97.25 KB

#3

boombatower - September 5, 2009 - 10:51
AttachmentSize
567422-simpletest-backport.patch 124.68 KB

#4

boombatower - September 5, 2009 - 11:05

Only:

# notice: Array to string conversion in /home/boombatower/software/drupal-6/includes/bootstrap.inc on line 768.
# warning: preg_match() expects parameter 2 to be string, array given in /home/boombatower/software/drupal-6/includes/bootstrap.inc on line 771.

AttachmentSize
567422-simpletest-backport.patch 125.31 KB

#5

boombatower - September 5, 2009 - 12:24

Closer

AttachmentSize
567422-simpletest-backport.patch 132.76 KB

#6

boombatower - September 5, 2009 - 13:10

This seems to work.

AttachmentSize
567422-simpletest-backport.patch 159.86 KB

#7

boombatower - September 5, 2009 - 13:33

run-tests.sh also included.

AttachmentSize
567422-simpletest-backport.patch 164.67 KB

#8

boombatower - September 5, 2009 - 13:34
Status:needs review» fixed

Committed.

#9

System Message - September 19, 2009 - 13:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.