Skip to content

Commit

Permalink
Tests filtered for each repo
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Jul 15, 2019
1 parent b2927ef commit 58ace8b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion runAllTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ function runAllTests(id, repo)
% the sortByFixtures method to sort the suite.
all_tests = [main_tests signals_tests alyx_tests];
% If the repo under test is alyx, filter out irrelevent tests
if startsWith(repo, 'alyx', 'IgnoreCase', true)
if strcmp(repo, 'alyx')
all_tests = all_tests(startsWith({all_tests.Name}, 'Alyx', 'IgnoreCase', true));
elseif strcmp(repo, 'alyx-matlab')
all_tests = alyx_tests;
elseif strcmp(repo, 'signals')
all_tests = signals_tests;
end

runner = TestRunner.withTextOutput;
Expand Down

0 comments on commit 58ace8b

Please sign in to comment.