aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/dev
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc.d/dev')
-rw-r--r--shellrc.d/dev7
1 files changed, 7 insertions, 0 deletions
diff --git a/shellrc.d/dev b/shellrc.d/dev
index 9af8088..1c54322 100644
--- a/shellrc.d/dev
+++ b/shellrc.d/dev
@@ -28,8 +28,15 @@ mbuild() {
mtest() {
_meson_setup
+ meson test -C build "$@"
+}
+
+mcoverage() {
+ _meson_setup
meson configure build -Db_coverage=true
meson test -C build "$@"
+ ninja -C build coverage-html
+ xdg-open build/meson-logs/coveragereport/index.html
}
mdist() {