-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
unrar doesn't have a "--version" flag #1175
Comments
I guess this isn't actually a failed test, but rather showing that the importer doesn't work with that version of unrar - so the test is working as it should! |
setup.py test
currently broken
Thanks; I didn't know there was an incompatibility. Can you check what the equivalent is for your unrar? FWIW, nose is usually the most convenient way to run the tests. The Testing wiki page has more. |
Also, I should add that we don't yet know whether the importer is broken; what failed here is the part of the tests that checks whether you have unrar. |
I answered this in the original comment :
And yeah, I would use nosetests normally, but didn't want to add even more to the virtualenv for what I figured was just a quick test. :) |
Oops, sorry for reading too quickly. I have never used either version of unrar, so I could use some help here from anyone interested in figuring out if we can adapt to this version gracefully (or whether we should just detect and ignore it). |
`has_program()` by default appends `--version` to the command to test for, but `unrar` doesn’t recognise this flag. Fixes beetbox#1175.
I fixed the test setup. Unknown |
Your fix isn't a fix though, it's just a work-around hiding the error. The error is that
I did this in the original comment:
By "standard output", I mean " |
Seems OK for now (we're just requiring an unrar with a --version flag). An empty argument list would be fine too if we can show that doesn't break the other unrar. |
Apparently there's a FOSS The output of |
Running
python setup.py test
in an virtualenv after apython setup.py install
from a fresh Git checkout (a892128) fails due to my version ofunrar
being different from the one used to write the tests:Running
unrar --version
manually gives me:It doesn't seem to have any kind of version flag at all, but instead prints the version information as part of its standard output.
The text was updated successfully, but these errors were encountered: