mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
tests ~ use CARGO_PKG_NAME as name of binary used for testing
This commit is contained in:
parent
1f0864f689
commit
039638de0e
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ use std::thread::sleep;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
static PROGNAME: &str = "uutils.exe";
|
static PROGNAME: &str = concat!(env!("CARGO_PKG_NAME"), ".exe");
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
static PROGNAME: &str = "uutils";
|
static PROGNAME: &str = env!("CARGO_PKG_NAME");
|
||||||
|
|
||||||
static TESTS_DIR: &str = "tests";
|
static TESTS_DIR: &str = "tests";
|
||||||
static FIXTURES_DIR: &str = "fixtures";
|
static FIXTURES_DIR: &str = "fixtures";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue