mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-06-01 06:04:04 +08:00
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 git-svn-id: https://buddypress.svn.wordpress.org/trunk@7421 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
6 lines
347 B
PHP
6 lines
347 B
PHP
<?php
|
|
$multisite = (int) ( defined( 'WP_TESTS_MULTISITE') && WP_TESTS_MULTISITE );
|
|
system( WP_PHP_BINARY . ' ' . escapeshellarg( dirname( __FILE__ ) . '/install.php' ) . ' ' . escapeshellarg( WP_TESTS_CONFIG_PATH ) . ' ' . escapeshellarg( WP_TESTS_DIR ) . ' ' . $multisite );
|
|
|
|
// Bootstrap BP
|
|
require dirname( __FILE__ ) . '/../../bp-loader.php';
|