Anomie has uploaded a new change for review.
https://gerrit.wikimedia.org/r/93072
Change subject: Update phpunit @group annotations
......................................................................
Update phpunit @group annotations
Some tests weren't being run as they should have been when phpunit's
--group option was used.
Change-Id: I29ff9a04322b91cc085247e5663dfc7bc67d3439
---
M tests/engines/LuaCommon/LuaEnvironmentComparisonTest.php
M tests/engines/LuaSandbox/LuaSandboxInterpreterTest.php
M tests/engines/LuaStandalone/LuaStandaloneInterpreterTest.php
3 files changed, 13 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto
refs/changes/72/93072/1
diff --git a/tests/engines/LuaCommon/LuaEnvironmentComparisonTest.php
b/tests/engines/LuaCommon/LuaEnvironmentComparisonTest.php
index 7ffcaab..24f398c 100644
--- a/tests/engines/LuaCommon/LuaEnvironmentComparisonTest.php
+++ b/tests/engines/LuaCommon/LuaEnvironmentComparisonTest.php
@@ -1,5 +1,10 @@
<?php
+/**
+ * @group Lua
+ * @group LuaSandbox
+ * @group LuaStandalone
+ */
class Scribunto_LuaEnvironmentComparisonTest extends MediaWikiTestCase {
var $sandboxOpts = array(
'memoryLimit' => 50000000,
diff --git a/tests/engines/LuaSandbox/LuaSandboxInterpreterTest.php
b/tests/engines/LuaSandbox/LuaSandboxInterpreterTest.php
index ec37b4a..5f59e0c 100644
--- a/tests/engines/LuaSandbox/LuaSandboxInterpreterTest.php
+++ b/tests/engines/LuaSandbox/LuaSandboxInterpreterTest.php
@@ -3,7 +3,10 @@
if ( PHP_SAPI !== 'cli' ) exit;
require_once( dirname( __FILE__ ) .'/../LuaCommon/LuaInterpreterTest.php' );
-
+/**
+ * @group Lua
+ * @group LuaSandbox
+ */
class Scribunto_LuaSandboxInterpreterTest extends Scribunto_LuaInterpreterTest
{
var $stdOpts = array(
'memoryLimit' => 50000000,
diff --git a/tests/engines/LuaStandalone/LuaStandaloneInterpreterTest.php
b/tests/engines/LuaStandalone/LuaStandaloneInterpreterTest.php
index 7c40a43..4aa4b35 100644
--- a/tests/engines/LuaStandalone/LuaStandaloneInterpreterTest.php
+++ b/tests/engines/LuaStandalone/LuaStandaloneInterpreterTest.php
@@ -3,6 +3,10 @@
if ( PHP_SAPI !== 'cli' ) exit;
require_once( dirname( __FILE__ ) .'/../LuaCommon/LuaInterpreterTest.php' );
+/**
+ * @group Lua
+ * @group LuaStandalone
+ */
class Scribunto_LuaStandaloneInterpreterTest extends
Scribunto_LuaInterpreterTest {
var $stdOpts = array(
'errorFile' => null,
--
To view, visit https://gerrit.wikimedia.org/r/93072
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I29ff9a04322b91cc085247e5663dfc7bc67d3439
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits