mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
Removes unused macros from windows & macos builds
This commit is contained in:
parent
67059db086
commit
0864234e3d
2 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
#[cfg(unix)]
|
||||||
macro_rules! make_block_test (
|
macro_rules! make_block_test (
|
||||||
( $test_id:ident, $test_name:expr, $src:expr, $block:expr, $spec:expr ) =>
|
( $test_id:ident, $test_name:expr, $src:expr, $block:expr, $spec:expr ) =>
|
||||||
{
|
{
|
||||||
|
@ -30,6 +31,7 @@ macro_rules! make_block_test (
|
||||||
};
|
};
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#[cfg(unix)]
|
||||||
macro_rules! make_unblock_test (
|
macro_rules! make_unblock_test (
|
||||||
( $test_id:ident, $test_name:expr, $src:expr, $unblock:expr, $spec:expr ) =>
|
( $test_id:ident, $test_name:expr, $src:expr, $unblock:expr, $spec:expr ) =>
|
||||||
{
|
{
|
||||||
|
|
|
@ -34,6 +34,7 @@ macro_rules! assert_fixture_exists {
|
||||||
}};
|
}};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
macro_rules! assert_fixture_not_exists {
|
macro_rules! assert_fixture_not_exists {
|
||||||
($fname:expr) => {{
|
($fname:expr) => {{
|
||||||
let fpath = PathBuf::from(format!("./fixtures/dd/{}", $fname));
|
let fpath = PathBuf::from(format!("./fixtures/dd/{}", $fname));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue