[otrs-cvs] UnitTest/bin UnitTestAutoSetup.pl,1.245,1.246
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments: Update of /home/cvs/UnitTest/bin In directory lancelot:/tmp/cvs-serv27810/bin Modified Files: UnitTestAutoSetup.pl Log Message: Added new mechanism to run recommended framework tests. Author: mh Index: UnitTestAutoSetup.pl =================================================================== RCS file: /home/cvs/UnitTest/bin/UnitTestAutoSetup.pl,v retrieving revision 1.245 retrieving revision 1.246 diff -2 -u -d -r1.245 -r1.246 --- UnitTestAutoSetup.pl 25 Jan 2013 11:22:44 -0000 1.245 +++ UnitTestAutoSetup.pl 25 Jan 2013 11:43:05 -0000 1.246 @@ -44,7 +44,6 @@ my $CheckOut = 'cvs -z9 -d :pserver:[email protected]:/home/cvs co'; -my @ForcedTests = ( - '', - '', +my @RecommendedFrameworkTests = ( + 'Frontend/Basic', ); @@ -89,4 +88,5 @@ 'OrderManagement/OrderItemGroup', ], + AddRecommendedFrameworkTests => 1, }, @@ -133,4 +133,5 @@ 'GenericInterface/Transport/HTTP/SolManMock', ], + AddRecommendedFrameworkTests => 1, }, @@ -237,4 +238,5 @@ 'ITSMTemplate', ], + AddRecommendedFrameworkTests => 1, }, @@ -297,4 +299,5 @@ 'ITSMTemplate', ], + AddRecommendedFrameworkTests => 1, }, @@ -357,4 +360,5 @@ 'ITSMTemplate', ], + AddRecommendedFrameworkTests => 1, }, @@ -380,4 +384,5 @@ 'GenericInterface/FAQConnector', ], + AddRecommendedFrameworkTests => 1, }, @@ -402,4 +407,5 @@ 'FAQ', ], + AddRecommendedFrameworkTests => 1, }, @@ -424,4 +430,5 @@ 'Survey', ], + AddRecommendedFrameworkTests => 1, }, @@ -446,4 +453,5 @@ 'Survey', ], + AddRecommendedFrameworkTests => 1, }, @@ -468,4 +476,5 @@ 'TimeAccounting', ], + AddRecommendedFrameworkTests => 1, }, @@ -490,4 +499,5 @@ 'TimeAccounting', ], + AddRecommendedFrameworkTests => 1, }, @@ -512,4 +522,5 @@ 'DynamicTicketTemplate', ], + AddRecommendedFrameworkTests => 1, }, @@ -547,4 +558,5 @@ 'ProcessManagement/TransitionAction', ], + AddRecommendedFrameworkTests => 1, }, @@ -585,4 +597,5 @@ 'GenericInterface/Mapping/FusionInventory', ], + AddRecommendedFrameworkTests => 1, }, ); @@ -1505,5 +1518,11 @@ if ( $Scenario->{Tests} && ref $Scenario->{Tests} eq 'ARRAY' ) { - my $PackageTestsString = join ':', @{ $Scenario->{Tests} }; + my @Tests = @{ $Scenario->{Tests} }; + + if ( $Scenario->{AddRecommendedFrameworkTests} ) { + push @Tests, @RecommendedFrameworkTests; + } + + my $PackageTestsString = join ':', @Tests; system("$Scenario->{UnitTest} -n '$PackageTestsString' -p '$Scenario->{Name}'") --------------------------------------------------------------------- OTRS mailing list: cvs-log - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/cvs-log To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log