mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 08:14:09 +00:00
tests: Mark non-LuaSandbox tests as @group Standalone
This means that these tests are only run for test runs on this repo, and will not be run when this repo is included in CI as a dependency of any other repos, or the Wikimedia-wide gate. Any changes to other repos are implicitly assumed to be unable to break these tests. Bug: T125050 Change-Id: I7b77c0627f3fbe9dfbbf3d63cbd57e943d328555
This commit is contained in:
parent
93cb459def
commit
4a9b2e61e7
|
@ -82,6 +82,10 @@ trait Scribunto_LuaEngineTestHelper {
|
|||
$groups = Test::getGroups( $className, $name );
|
||||
$groups[] = 'Lua';
|
||||
$groups[] = $engineName;
|
||||
// Only run tests locally if the engine isn't the MW sandbox T125050
|
||||
if ( $engineName !== 'LuaSandbox' ) {
|
||||
$groups[] = 'Standalone';
|
||||
}
|
||||
$groups = array_unique( $groups );
|
||||
|
||||
$data = Test::getProvidedData( $className, $name );
|
||||
|
|
|
@ -11,6 +11,7 @@ use Wikimedia\TestingAccessWrapper;
|
|||
/**
|
||||
* @group Lua
|
||||
* @group LuaStandalone
|
||||
* @group Standalone
|
||||
* @covers Scribunto_LuaStandaloneInterpreter
|
||||
*/
|
||||
class Scribunto_LuaStandaloneInterpreterTest extends Scribunto_LuaInterpreterTest {
|
||||
|
|
Loading…
Reference in a new issue