diff options
Diffstat (limited to 'zluda_inject/tests/inject.rs')
-rw-r--r-- | zluda_inject/tests/inject.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/zluda_inject/tests/inject.rs b/zluda_inject/tests/inject.rs new file mode 100644 index 0000000..f63186a --- /dev/null +++ b/zluda_inject/tests/inject.rs @@ -0,0 +1,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(())
+}
|