Mercurial > crates > nonstick
view libpam-sys/libpam-sys-test/tests/runner.rs @ 131:a632a8874131
Get all the Linux-PAM functions into libpam-sys, and get tests right.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 02 Jul 2025 02:24:21 -0400 |
parents | c77846f3a979 |
children |
line wrap: on
line source
#![allow(unused_imports)] mod constants { include!(concat!(env!("OUT_DIR"), "/constant_test.rs")); #[test] fn test_constants() { main() } } #[allow(clippy::all)] mod ctest { use libpam_sys::*; include!(concat!(env!("OUT_DIR"), "/ctest.rs")); #[test] fn test_c() { eprintln!("Running a test!"); main(); } }