aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {