diff runtestsPackage.m @ 1197:433c89bf19e0 feature/rv

Merge with default
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 07 Aug 2019 15:23:42 +0200
parents 3230e4cbdbb4
children
line wrap: on
line diff
--- a/runtestsPackage.m	Wed Aug 07 13:28:21 2019 +0200
+++ b/runtestsPackage.m	Wed Aug 07 15:23:42 2019 +0200
@@ -1,4 +1,4 @@
 function res = runtestsPackage(pkgName)
-    ts = matlab.unittest.TestSuite.fromPackage(pkgName);
+    ts = matlab.unittest.TestSuite.fromPackage(pkgName, 'IncludingSubpackages', true);
     res = ts.run();
-end
\ No newline at end of file
+end