Mercurial > crates > nonstick
view libpam-sys/libpam-sys-test/tests/runner.rs @ 133:32b2a545ca3e
Add functions and constants from openpam.h.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 02 Jul 2025 03:33:09 -0400 |
parents | a632a8874131 |
children | efbc235f01d3 |
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 libc::*; use libpam_sys::*; include!(concat!(env!("OUT_DIR"), "/ctest.rs")); #[test] fn test_c() { eprintln!("Running a test!"); main(); } }