Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Nikola de Lange
git.practice
Commits
6bf6f29f
Commit
6bf6f29f
authored
Jan 23, 2019
by
Laurent Heirendt
✈
Browse files
new test suite
parent
6ced83cc
Changes
2
Show whitespace changes
Inline
Side-by-side
test/testAll.m
0 → 100644
View file @
6bf6f29f
% include the root folder and all subfolders.
addpath
(
genpath
([
pwd
filesep
'test'
]));
try
% save the userpath
originalUserPath
=
path
;
result
=
runtests
(
'./test/'
,
'Recursively'
,
true
,
'BaseFolder'
,
'*verified*'
);
sumFailed
=
0
;
sumIncomplete
=
0
;
% print out a summary table
table
(
result
)
% restore the original path
restoredefaultpath
;
addpath
(
originalUserPath
);
if
sumFailed
>
0
||
sumIncomplete
>
0
exit_code
=
1
;
end
% ensure that we ALWAYS call exit
if
~
isempty
(
strfind
(
getenv
(
'HOME'
),
'jenkins'
))
exit
(
exit_code
);
end
catch
exit
(
1
);
end
\ No newline at end of file
test/test_myName.m
→
test/
verified/
test_myName.m
View file @
6bf6f29f
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment