@@ -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
@@ -366,6 +370,7 @@ uucore = { version = "0.0.30", package = "uucore", path = "src/uucore" }
366370uucore_procs = { version = " 0.0.30" , package = " uucore_procs" , path = " src/uucore_procs" }
367371uu_ls = { version = " 0.0.30" , path = " src/uu/ls" }
368372uu_base32 = { version = " 0.0.30" , path = " src/uu/base32" }
373+ uutests = { version = " 0.0.30" , package = " uutests" , path = " tests/uutests/" }
369374
370375[dependencies ]
371376clap = { workspace = true }
@@ -493,6 +498,7 @@ yes = { optional = true, version = "0.0.30", package = "uu_yes", path = "src/uu/
493498# 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()`)
494499
495500[dev-dependencies ]
501+ uutests = { workspace = true }
496502chrono = { workspace = true }
497503filetime = { workspace = true }
498504glob = { workspace = true }
@@ -505,6 +511,7 @@ sha1 = { workspace = true, features = ["std"] }
505511tempfile = { workspace = true }
506512time = { workspace = true , features = [" local-offset" ] }
507513unindent = " 0.2.3"
514+ # uutests = { workspace = true }
508515uucore = { workspace = true , features = [
509516 " mode" ,
510517 " entries" ,
@@ -516,17 +523,17 @@ walkdir = { workspace = true }
516523hex-literal = " 0.4.1"
517524rstest = { workspace = true }
518525
519- [target .'cfg(any(target_os = "linux", target_os = "android"))' .dev- dependencies ]
526+ [target .'cfg(any(target_os = "linux", target_os = "android"))' .dependencies ]
520527procfs = { version = " 0.17" , default-features = false }
521528
522- [target .'cfg(unix)' .dev- dependencies ]
529+ [target .'cfg(unix)' .dependencies ]
523530nix = { workspace = true , features = [" process" , " signal" , " user" , " term" ] }
524531rlimit = " 0.10.1"
525532xattr = { workspace = true }
526533
527534# Specifically used in test_uptime::test_uptime_with_file_containing_valid_boot_time_utmpx_record
528535# to deserialize a utmpx struct into a binary file
529- [target .'cfg(all(target_family= "unix",not(target_os = "macos")))' .dev- dependencies ]
536+ [target .'cfg(all(target_family= "unix",not(target_os = "macos")))' .dependencies ]
530537serde = { version = " 1.0.202" , features = [" derive" ] }
531538bincode = { version = " 1.3.3" }
532539serde-big-array = " 0.5.1"
0 commit comments