view libpam-sys/libpam-sys-test/tests/runner.rs @ 135:b52594841480

Split libpam-sys into its own sub-workspace. Nonstick is basically a normal dependency of libpam-sys. But libpam-sys is integrated packages that should be versioned together.
author Paul Fisher <paul@pfish.zone>
date Thu, 03 Jul 2025 11:14:49 -0400
parents 32b2a545ca3e
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();
    }
}