Skip to content

Commit 6dfb8f2

Browse files
committed
update submodules and runTests
1 parent 4829d52 commit 6dfb8f2

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ venv/
1616
## visual studio code
1717
.vscode
1818

19+
# exclude temp files from tests and coverage
20+
test_report.log
21+
*coverage*
22+
1923
## MATLAB / OCTAVE gitignore template
2024

2125
# From : https://github.com/github/gitignore/blob/master/Global/MATLAB.gitignore

lib/CPP_BIDS

Submodule CPP_BIDS updated 78 files

runTests.m

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ function runTests()
66

77
tic;
88

9-
cd(fileparts(mfilename('fullpath')));
10-
11-
cfg.verbose = 0;
12-
checkCppBidsDependencies(cfg);
9+
initEnv();
1310

1411
if bids.internal.is_github_ci
1512
fprintf(1, '\nThis is github CI\n');
@@ -21,11 +18,9 @@ function runTests()
2118

2219
warning('OFF');
2320

24-
folderToCover = fullfile(pwd, 'src');
21+
folderToCover = fullfile(pwd, 'subfun');
2522
testFolder = fullfile(pwd, 'tests');
2623

27-
addpath(fullfile(testFolder, 'utils'));
28-
2924
success = moxunit_runtests(testFolder, ...
3025
'-verbose', '-recursive', '-with_coverage', ...
3126
'-cover', folderToCover, ...

0 commit comments

Comments
 (0)