Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dd: skip two tests without "printf" feature #5607

Merged

Conversation

cakebaker
Copy link
Contributor

When running cargo test --features "dd" --no-default-features the compiler shows two errors like:

error[E0425]: cannot find value `TESTS_BINARY` in this scope
    --> tests/by-util/test_dd.rs:1599:43
     |
1599 |     let mut reader_command = Command::new(TESTS_BINARY);
     |                                           ^^^^^^^^^^^^ not found in this scope

This PR fixes the errors by skipping the tests without the "printf" feature.

@sylvestre sylvestre merged commit 22f91b0 into uutils:main Dec 1, 2023
52 of 53 checks passed
@cakebaker cakebaker deleted the dd_fix_not_found_in_this_scope_error branch December 1, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants