Skip to content

Commit 91571f9

Browse files
committed
add some paths so that the mltbx file generation will reflect them
update doco to match .travis.yml
1 parent 62a4c25 commit 91571f9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

unit_test/RunAllTests.m

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
% Travis file system looks like this:
44
% ./ ** RTB is unpacked at this level, not its own folder
55
% ./unit_test ** WORKING folder
6-
% ./lib/toolbox-common
7-
% ./lib/spatial-math-toolbox
6+
% ./lib/common
7+
% ./lib/spatial-math
88

99
%% set up the test runner
1010
import matlab.unittest.plugins.CodeCoveragePlugin
@@ -38,9 +38,9 @@
3838
addpath ../simulink
3939

4040
%path
41-
system('mount');
41+
%system('mount');
4242

43-
originalDir = pwd
43+
originalDir = pwd; % this is the working dir, unit_test folder
4444

4545
% build the Java classes
4646
fprintf('---------------------------------- Build Java classes ------------------------------------\n')
@@ -55,6 +55,7 @@
5555
check
5656

5757
cd(originalDir)
58+
addpath ../mex
5859

5960
%% Run all unit tests in my repository
6061
fprintf('---------------------------------- Run the unit tests ------------------------------------\n')
@@ -67,4 +68,8 @@
6768
%% Build the toolbox distribution file
6869
fprintf('---------------------------------- Build the MLTBX file ------------------------------------\n')
6970
cd ..
71+
addpath demos
72+
addpath examples
73+
addpath Apps
74+
7075
matlab.addons.toolbox.packageToolbox('PackageToolbox.prj')

0 commit comments

Comments
 (0)