Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/77249
Change subject: Remove pointless standalone test runner
......................................................................
Remove pointless standalone test runner
We now have a phpunit.xml.dist file with bootstrap,
which is the more standard approach
Change-Id: I0c605dd4769a3e49084017faa3d42269279e6dc1
---
D Tests/phpunit.php
1 file changed, 0 insertions(+), 28 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Ask
refs/changes/49/77249/1
diff --git a/Tests/phpunit.php b/Tests/phpunit.php
deleted file mode 100755
index 6e5783c..0000000
--- a/Tests/phpunit.php
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-require_once( 'PHPUnit/Runner/Version.php' );
-
-if ( PHPUnit_Runner_Version::id() !== '@package_version@'
- && version_compare( PHPUnit_Runner_Version::id(), '3.7', '<' )
-) {
- die( 'PHPUnit 3.7 or later required, you have ' .
PHPUnit_Runner_Version::id() . ".\n" );
-}
-require_once( 'PHPUnit/Autoload.php' );
-
-require_once( __DIR__ . '/bootstrap.php' );
-
-echo 'Running tests for Ask version ' . Ask_VERSION . ".\n";
-
-$arguments = $_SERVER['argv'];
-array_shift( $arguments );
-
-if ( array_search( '--group', $arguments ) === false ) {
- $arguments[] = '--group';
- $arguments[] = 'Ask';
-}
-
-$arguments[] = __DIR__;
-
-$runner = new PHPUnit_TextUI_Command();
-$runner->run( $arguments );
--
To view, visit https://gerrit.wikimedia.org/r/77249
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c605dd4769a3e49084017faa3d42269279e6dc1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Ask
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits