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

Address the differences with the GNU testsuite results #114

Closed
sylvestre opened this issue Sep 7, 2021 · 4 comments
Closed

Address the differences with the GNU testsuite results #114

sylvestre opened this issue Sep 7, 2021 · 4 comments

Comments

@sylvestre
Copy link
Contributor

Currently:

# TOTAL: 16
# PASS:  3
# SKIP:  1
# XFAIL: 0
# FAIL:  11
# XPASS: 0
# ERROR: 1
@tavianator
Copy link
Contributor

If you're looking for more external tests, I have a fairly large find testsuite as part of https:/tavianator/bfs. You can use it like this:

$ git clone https:/tavianator/bfs.git
$ cd bfs
$ make all
...
$ ./tests.sh --bfs=/absolute/path/to/uutils/findutils/target/release/find --gnu
...
tests passed: 82
tests failed: 143

Note that currently GNU find scores

$ ./tests.sh --bfs=/usr/bin/find --gnu
...
tests passed: 206
tests failed: 19

due to things that I consider bugs in findutils.

@sylvestre
Copy link
Contributor Author

sylvestre commented Sep 14, 2021

@tavianator oh, cool, thanks

You would be interested in adding this testsuite in:

https:/uutils/findutils/blob/master/util/build-gnu.sh ?

@tavianator
Copy link
Contributor

@sylvestre Here you go: #116

@tavianator
Copy link
Contributor

I just noticed your run of the GNU tests is missing a lot of them. A complete make check includes the dejagnu tests:

                === find Summary ===

# of expected passes            487
find (GNU findutils) 4.9.0.1-caba
...
                === xargs Summary ===

# of expected passes            96
xargs (GNU findutils) 4.9.0.1-caba

Currently uutils gets:

                === find Summary ===

# of expected passes            184
# of unexpected failures        624
find (Rust) 0.3.0
...
                === xargs Summary ===

# of expected passes            50
# of unexpected failures        46
xargs 0.3.0

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

No branches or pull requests

2 participants