--- a/testing/mochitest/runtests.pl.in
+++ b/testing/mochitest/runtests.pl.in
@@ -553,27 +553,24 @@ sub runTests {
if ($is_win32) {
$profile_arg = winPathFromDir($profile_dir);
}
# now run with the profile we created
# On Windows and Linux, the application is focused for us. On OS X, we
# need to use applescript to focus the app and then set the url.
- my $rc = 0;
-if (0) {
my $rc = -1;
if (!$is_mac) {
my @runargs = ($app, '-no-remote', '-profile', $profile_arg);
push(@runargs, $test_url);
$rc = 0xffff & system @runargs;
} else {
$rc = executeMac($profile_arg, $test_url);
}
-}
if ($rc != 0) {
print "FAIL Exited with code $rc during test run\n";
}
return $test_start;
}