From fc88767ab402b887287a749e58af5a19044fb0c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= <stephane.adjemian@univ-lemans.fr> Date: Fri, 20 Nov 2015 15:34:08 +0100 Subject: [PATCH] Optionally returns a list of routines without unit tests. --- src/run_unitary_tests.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/run_unitary_tests.m b/src/run_unitary_tests.m index caf044d..e61c7d6 100644 --- a/src/run_unitary_tests.m +++ b/src/run_unitary_tests.m @@ -35,6 +35,10 @@ report = {}; testcoverage = zeros(2,1); +if nargout>2 + list_of_routines_without_unit_tests = {}; +end + skipline() for f=1:length(listoffiles) @@ -52,6 +56,7 @@ for f=1:length(listoffiles) report = [report; info]; else testcoverage(2) = testcoverage(2) + 1; + list_of_routines_without_unit_tests(testcoverage(2)) = { listoffiles{f} }; end end end -- GitLab