From afd85b45d0628f4ca44795176fc1d4a56996ff82 Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Thu, 31 Oct 2013 17:53:06 +0100 Subject: [PATCH] MT#4771 option to call ./Build test_selenium which only runs selenium tests --- inc/Local/Module/Build.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inc/Local/Module/Build.pm b/inc/Local/Module/Build.pm index eba4cf01ed..20deee9841 100644 --- a/inc/Local/Module/Build.pm +++ b/inc/Local/Module/Build.pm @@ -156,4 +156,11 @@ method ACTION_test_servers { ; } +method ACTION_test_selenium { + $self->depends_on('code'); + $self->_test_preconditions; + $self->test_files('t/*_selenium.t t/admin-login.t'); + $self->generic_test(type => 'default'); +} + END { shutdown_servers }