From 58ace8b726b43c2a13060275ecb8e95f4f7c017c Mon Sep 17 00:00:00 2001 From: k1o0 Date: Mon, 15 Jul 2019 22:30:35 +0300 Subject: [PATCH] Tests filtered for each repo --- runAllTests.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runAllTests.m b/runAllTests.m index dac9549..7b567aa 100644 --- a/runAllTests.m +++ b/runAllTests.m @@ -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;