Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2013 06:58:12 PM (11 years ago)
Author:
boonebgorges
Message:

Improve compatibility with develop.svn.wordpress.org unit test suite

This changeset ensures that the BP tests can be run from within a
develop.svn.wordpress.org setup. Backward compatibility for custom locations
using the WP_TESTS_DIR environment variable is maintained.

Fixes #5200

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/includes/install.php

    r7187 r7421  
    99
    1010$config_file_path = $argv[1];
    11 $multisite = ! empty( $argv[2] );
     11$tests_dir_path = $argv[2];
     12$multisite = ! empty( $argv[3] );
    1213
    1314require_once $config_file_path;
    14 require_once dirname( $config_file_path ) . '/includes/functions.php';
     15require_once $tests_dir_path . '/includes/functions.php';
    1516
    1617function _load_buddypress() {
Note: See TracChangeset for help on using the changeset viewer.