Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
m-unit-tests
Commits
3fb3b6f5
Commit
3fb3b6f5
authored
Nov 17, 2015
by
Stéphane Adjemian
Browse files
Cosmetic change.
parent
ff470d29
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/run_unitary_tests.m
View file @
3fb3b6f5
...
...
@@ -35,6 +35,8 @@ report = {};
testcoverage
=
zeros
(
2
,
1
);
skipline
()
for
f
=
1
:
length
(
listoffiles
)
if
isempty
(
strfind
(
listoffiles
{
f
},
'.#'
))
if
is_unitary_test_available
(
listoffiles
{
f
})
...
...
src/run_unitary_tests_in_directory.m
View file @
3fb3b6f5
...
...
@@ -57,6 +57,15 @@ platform = computer;
listoffiles
=
get_directory_description
(
dirname
);
diary
([
'report-'
gitlastcommithash
'.log'
]
)
str
=
sprintf
(
'Unitary tests in %s'
,
dirname
);
lstr
=
length
(
str
);
sstr
=
repmat
(
'*'
,
1
,
lstr
);
skipline
()
disp
(
sstr
)
disp
(
str
)
disp
(
sstr
)
[
report
,
time
]
=
run_unitary_tests
(
listoffiles
);
diary
off
...
...
@@ -66,4 +75,4 @@ end
if
nargin
>
2
build_report_summary
([
'report-'
gitlastcommithash
'.mat'
],
printreport
,
sendreport
);
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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