Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
795ecce
NF: mex version of mocov_line_covered.c - first attempt. This should …
Jun 30, 2025
bc9ef58
Merge branch 'master' into nf/line_covered_mex
Jun 30, 2025
6ff1fbd
FIX: always use column vectors for line counts
Jun 30, 2025
15ca110
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 30, 2025
3938ee1
CLN: use proper spacing
Jun 30, 2025
7040cdb
Merge branch 'nf/line_covered_mex' of https://github.com/MOxUnit/MOco…
Jun 30, 2025
6819740
install octave-dev
Remi-Gau Jul 1, 2025
04fd176
OPT: simplify line coverage by removing fourth argument, disable file…
Jul 3, 2025
16ce1ce
CLN: cleanup dealing with filename check and freeing of fn
Jul 3, 2025
5494fc3
OPT: cache octave string pointer
Jul 4, 2025
905610a
ENH: allow switching caching filename pointer on or off
Jul 4, 2025
7796872
Merge branch 'nf/line_covered_mex' of https://github.com/MOxUnit/MOco…
Jul 4, 2025
3604c3b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 4, 2025
1a2b150
FIX: always check filename
Jul 4, 2025
e0780e5
Merge branch 'nf/line_covered_mex' of https://github.com/MOxUnit/MOco…
Jul 4, 2025
4d5908e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 4, 2025
b5bddab
CLN: fix typo
Jul 4, 2025
ca11198
Merge branch 'nf/line_covered_mex' of https://github.com/MOxUnit/MOco…
Jul 4, 2025
7227e9b
FIX: include argument checks for .m file version of mocov_line_covered
Jul 4, 2025
c997f6e
CLN: do not start "||" at beginning of line
Jul 4, 2025
fd384ef
CLN: minor cleanup
Jul 4, 2025
bebf91b
DOC: fix typo
Jul 4, 2025
9d68473
CLN: remove unused code
Jul 4, 2025
8342c2d
RF: use clearer inline code
Jul 4, 2025
732a38b
CLN: remove empty line
Jul 4, 2025
6c65dc7
ENH: verify state is unchanged; allow overriding variables
Jul 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI_octave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Install Octave
run: |
sudo apt-get -y -qq update
sudo apt-get -y install octave
sudo apt-get -y install octave octave-dev
make -C MOxUnit install
make install

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ datadb.zip
octave-workspace
git_log.txt
git_summary.txt
*.mex*
.vscode
*.plist
2 changes: 1 addition & 1 deletion MOcov/@MOcovMFileCollection/rewrite_mfiles.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
% interprets as escape characters. Therefore we construct the
% decorator using string concatenation.
prefix = sprintf('mocov_line_covered(%d,''%s'',', k, rel_fn);
suffix = ',1);';
suffix = ');';
decorator = @(line_number) [prefix sprintf('%d', line_number) suffix];

write_lines_with_prefix(mfile, tmp_fn, decorator);
Expand Down
Loading