aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-11 10:21:09 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-11 10:21:09 +0530
commit68af029169b5303b678530763e7de30be89e56ff (patch)
tree40dce1ebb80b10d30a6d08e8a7ac9a73aa78262a
parente500683defefac1370e86cbf52552f404a0eae24 (diff)
meson/test/npass: init
-rw-r--r--flake.nix1
-rw-r--r--src/npass/meson.build4
2 files changed, 4 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 257b648..7f6568b 100644
--- a/flake.nix
+++ b/flake.nix
@@ -23,6 +23,7 @@
meson
ninja
ccls
+ gdb
self.packages.${system}.npass
];
diff --git a/src/npass/meson.build b/src/npass/meson.build
index 2371298..493c0e2 100644
--- a/src/npass/meson.build
+++ b/src/npass/meson.build
@@ -1,4 +1,4 @@
-executable(
+e = executable(
'pass',
'npass.c',
@@ -6,3 +6,5 @@ executable(
link_with: lib_npass,
install: true,
)
+
+test('npass', e)