Add a test for fd_readdir
This commit is contained in:
15
build.rs
15
build.rs
@@ -154,11 +154,23 @@ fn avoid_keywords(name: &str) -> &str {
|
||||
}
|
||||
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(not(windows))] {
|
||||
if #[cfg(linux)] {
|
||||
/// Ignore tests that aren't supported yet.
|
||||
fn ignore(_testsuite: &str, _name: &str) -> bool {
|
||||
false
|
||||
}
|
||||
} else if #[cfg(not(any(linux, windows)))] {
|
||||
/// Ignore tests that aren't supported yet.
|
||||
fn ignore(testsuite: &str, name: &str) -> bool {
|
||||
if testsuite == "misc_testsuite" {
|
||||
match name {
|
||||
"fd_readdir" => true,
|
||||
_ => false,
|
||||
}
|
||||
} else {
|
||||
unreachable!()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/// Ignore tests that aren't supported yet.
|
||||
fn ignore(testsuite: &str, name: &str) -> bool {
|
||||
@@ -169,6 +181,7 @@ cfg_if::cfg_if! {
|
||||
"symlink_loop" => true,
|
||||
"clock_time_get" => true,
|
||||
"truncation_rights" => true,
|
||||
"fd_readdir" => true,
|
||||
_ => false,
|
||||
}
|
||||
} else {
|
||||
|
||||
Submodule misc_testsuite updated: 5b706db675...4009c2bf14
Reference in New Issue
Block a user