We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb8c043 commit 8be432eCopy full SHA for 8be432e
tests/tests.rs
@@ -3,7 +3,6 @@
3
// For the full copyright and license information, please view the LICENSE
4
// file that was distributed with this source code.
5
6
-// Then override the macro with your constant
7
use std::env;
8
9
pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_coreutils");
@@ -12,6 +11,7 @@ pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_coreutils");
12
11
#[ctor::ctor]
13
fn init() {
14
unsafe {
+ // Necessary for uutests to be able to find the binary
15
std::env::set_var("UUTESTS_BINARY_PATH", TESTS_BINARY);
16
}
17
0 commit comments