views:

13

answers:

0

I'm trying to run the WordPress test suite (http://svn.automattic.com/wordpress-tests/) against wordpress MU by running "php wp-test.php -v mu" on the command line, and I get a whole slew of errors related to database tables being missing:

WordPress database error Table 'wordpress_test.wp_sitemeta' doesn't exist for query SELECT meta_value FROM wp_sitemeta WHERE meta_key = 'wpmu_sitewide_plugins' AND site_id = 1 made by require_once, get_site_option
...
WordPress database error Table 'wordpress_test.wp_users' doesn't exist for query SELECT * FROM wp_users WHERE user_login = 'd87193701cb6b55a91a34b0f049d22e4' made by wp_install, username_exists, get_userdatabylogin, get_user_by
...
WordPress database error Table 'wordpress_test.wp_users' doesn't exist for query INSERT INTO wp_users (user_pass,user_email,user_url,user_nicename,display_name,user_registered,user_login) VALUES ('$P$BGRXqTL2Nqv3AGONWtsOSf9cPRfngW.','[email protected]','','d87193701cb6b55a91a34b0f049d22e4','d87193701cb6b55a91a34b0f049d22e4','2010-06-21 16:19:18','d87193701cb6b55a91a34b0f049d22e4') made by wp_install, wp_create_user, wp_insert_user
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query SELECT * FROM wp_usermeta WHERE user_id = 96 AND meta_key = 'first_name' made by wp_install, wp_create_user, wp_insert_user, update_usermeta, delete_usermeta
...
...
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query DELETE FROM wp_usermeta WHERE user_id = 96 AND meta_key = 'last_name' made by wp_install, wp_create_user, wp_insert_user, update_usermeta, delete_usermeta
...
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query SELECT * FROM wp_usermeta WHERE user_id = 96 AND meta_key = 'admin_color' made by wp_install, wp_create_user, wp_insert_user, update_usermeta
...
WordPress database error Table 'wordpress_test.wp_users' doesn't exist for query SELECT * FROM wp_users WHERE ID = 96 LIMIT 1 made by wp_install, wp_create_user, wp_insert_user, WP_User->WP_User, get_userdata
...
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query SELECT * FROM wp_usermeta WHERE user_idTest Suite
Test_Clean_Pre
.FF.

Then some of the tests start to run, and when it gets to WPTestActions, I get these errors:

WPTestActions
..........Action Time: 0.06314039 (0.00012628 each)
...
Fatal error: Cannot use object of type Closure as array in C:\wordpress\wordpress-mu\wp-includes\plugin.php on line 680
= 96 AND meta_key = 'default_password_nag' made by wp_install, update_usermeta
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query INSERT INTO wp_usermeta (user_id,meta_key,meta_value) VALUES ('96','default_password_nag','1') made by wp_install, update_usermeta
WordPress database error Table 'wordpress_test.wp_users' doesn't exist for query SELECT * FROM wp_users WHERE ID = 96 LIMIT 1 made by wp_install, WP_User->WP_User, get_userdata
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query SELECT * FROM wp_usermeta WHERE user_id = 0 AND meta_key = '' made by wp_install, WP_User->set_role, update_usermeta
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query INSERT INTO wp_usermeta (user_id,meta_key,meta_value) VALUES ('0','','a:1:{s:13:\"administrator\";b:1;}') made by wp_install, WP_User->set_role, update_usermeta
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query SELECT * FROM wp_usermeta WHERE user_id = 0 AND meta_key = 'wp_1_user_level' made by wp_install, WP_User->set_role, WP_User->update_user_level_from_caps, update_usermeta
WordPress database error Table 'wordpress_test.wp_usermeta' doesn't exist for query INSERT INTO wp_usermeta (user_id,meta_key,meta_value) VALUES ('0','wp_1_user_level','10') made by wp_install, WP_User->set_role, WP_User->update_user_level_from_caps, update_usermeta
WordPress database error Table 'wordpress_test.wp_users' doesn't exist for query SELECT * FROM wp_users WHERE ID = 96 LIMIT 1 made by wp_install, wp_new_blog_notification, WP_User->WP_User, get_userdata
WordPress database error Table 'wordpress_test.wp_blogs' doesn't exist for query SELECT * from wp_blogs where blog_id=1
PHP Fatal error: Cannot use object of type Closure as array in C:\wordpress\wordpress-mu\wp-includes\plugin.php on line 680

Any help would be greatly appreciated! Thanks,

Dave