mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-12 10:48:53 +03:00
14 lines
343 B
Rust
14 lines
343 B
Rust
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(())
|
|
}
|