diff libpam-sys/libpam-sys-test/tests/test_constants.rs @ 110:2346fd501b7a

Add tests for constants and do other macro niceties. - Adds tests for all the constants. Pretty sweet. - Moves documentation for cfg-pam-impl macro to `libpam-sys`. - Renames `Illumos` to `Sun`. - other stuff
author Paul Fisher <paul@pfish.zone>
date Sun, 29 Jun 2025 02:15:46 -0400
parents
children 178310336596
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libpam-sys/libpam-sys-test/tests/test_constants.rs	Sun Jun 29 02:15:46 2025 -0400
@@ -0,0 +1,5 @@
+
+#[test]
+fn check_constants() {
+    include!(concat!(env!("OUT_DIR"), "/constant_test.rs"))
+}