aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_inject/tests/inject.rs
blob: f63186aafbccc9fd63b2cdbfc9223978444a1861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::{env, io, process::Command};

#[test]
fn direct_cuinit() -> io::Result<()> {
    let helpers_dir = env!("HELPERS_OUT_DIR");
    let mut main_exe = Command::new(format!(
        "{}{}direct_cuinit.exe",
        helpers_dir,
        std::path::MAIN_SEPARATOR
    ));
    assert!(main_exe.status()?.success());
    Ok(())
}