@@ -263,6 +263,10 @@ feat_os_windows_legacy = [
263263# * bypass/override ~ translate 'test' feature name to avoid dependency collision with rust core 'test' crate (o/w surfaces as compiler errors during testing)
264264test = [" uu_test" ]
265265
266+ [workspace ]
267+ members = [" tests/uutests" ]
268+ default-members = [" ." ]
269+
266270[workspace .package ]
267271readme = " README.package.md"
268272
@@ -363,6 +367,7 @@ uucore = { version = "0.0.29", package = "uucore", path = "src/uucore" }
363367uucore_procs = { version = " 0.0.29" , package = " uucore_procs" , path = " src/uucore_procs" }
364368uu_ls = { version = " 0.0.29" , path = " src/uu/ls" }
365369uu_base32 = { version = " 0.0.29" , path = " src/uu/base32" }
370+ uutests = { version = " 0.0.29" , package = " uutests" , path = " tests/uutests/" }
366371
367372[dependencies ]
368373clap = { workspace = true }
@@ -491,6 +496,7 @@ yes = { optional = true, version = "0.0.29", package = "uu_yes", path = "src/uu/
491496# pin_cc = { version="1.0.61, < 1.0.62", package="cc" } ## cc v1.0.62 has compiler errors for MinRustV v1.32.0, requires 1.34 (for `std::str::split_ascii_whitespace()`)
492497
493498[dev-dependencies ]
499+ uutests = { workspace = true }
494500chrono = { workspace = true }
495501filetime = { workspace = true }
496502glob = { workspace = true }
@@ -503,6 +509,7 @@ sha1 = { workspace = true, features = ["std"] }
503509tempfile = { workspace = true }
504510time = { workspace = true , features = [" local-offset" ] }
505511unindent = " 0.2.3"
512+ # uutests = { workspace = true }
506513uucore = { workspace = true , features = [
507514 " mode" ,
508515 " entries" ,
@@ -514,17 +521,17 @@ walkdir = { workspace = true }
514521hex-literal = " 0.4.1"
515522rstest = { workspace = true }
516523
517- [target .'cfg(any(target_os = "linux", target_os = "android"))' .dev- dependencies ]
524+ [target .'cfg(any(target_os = "linux", target_os = "android"))' .dependencies ]
518525procfs = { version = " 0.17" , default-features = false }
519526
520- [target .'cfg(unix)' .dev- dependencies ]
527+ [target .'cfg(unix)' .dependencies ]
521528nix = { workspace = true , features = [" process" , " signal" , " user" , " term" ] }
522529rlimit = " 0.10.1"
523530xattr = { workspace = true }
524531
525532# Specifically used in test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record
526533# to deserialize a utmpx struct into a binary file
527- [target .'cfg(all(target_family= "unix",not(target_os = "macos")))' .dev- dependencies ]
534+ [target .'cfg(all(target_family= "unix",not(target_os = "macos")))' .dependencies ]
528535serde = { version = " 1.0.202" , features = [" derive" ] }
529536bincode = { version = " 1.3.3" }
530537serde-big-array = " 0.5.1"
0 commit comments