this problem is here:

\symfony\src\Symfony\Bundle\FrameworkBundle\Test\WebTestCase.php line
49:

        // find the --configuration flag from PHPUnit
        $cli = implode(' ', $_SERVER['argv']);
        if (preg_match('/\-\-configuration[= ]+([^ ]+)/', $cli,
$matches)) {
            $dir = $dir.'/'.$matches[1];
        } elseif (preg_match('/\-c +([^ ]+)/', $cli, $matches)) {
            $dir = $dir.'/'.$matches[1];
        } else {
            throw new \RuntimeException('Unable to guess the Kernel
directory.');
        }

this function captures the arguments passed by the command, and the
conditional checks the arguments. but in some cases no argument is
provided, thereby triggering the exception.
I'm still studying this case.

PS:
- I'm trying to run the tests via NetBeans.
- the coment "black magic below, you have been warned!" is great.

On Sep 23, 8:47 pm, gordonslondon <[email protected]> wrote:
> I have also the same problem

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to