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
Some tests can not be run #150
Comments
1. That is very odd! What results do you get from
? That's what Travis does. I don't see any obvious reason why those particular tests should hang. 2.
What core have you installed in /usr/bin? The editorconfig executable that comes with this plugin (tests/core/editorconfig) should never be installed --- it is only for testing. 3. Do the core tests pass? |
Any updates? If not, I will close this issue. You can always reopen later if necessary! |
Argh, sorry, I forgot about this ticket!
I build from the source tarball, not from a git clone. So in this case I specifically only run rspec. Unfortunately some of the files seem to be missing.
The vim-editorconfig package relies on the editorconfig-core-c package.
It doesn't look like we are running any tests for the editorconfig-core-c package. I can get in touch with the package maintainer to ask about that though. |
No worries :) .
How do you make your source tarball, or where do you download it from? Perhaps the way we make the source tarball needs to change.
As of v1.0.0-beta, this is no longer the case. The released v1.1.1 uses the internal Vimscript core by default. Therefore, I believe you can safely remove that dependency from the Arch package.
Since editorconfig-vim includes its own core, the tests test both the plugin and that core. Sorry for the confusion! I was referring to the core tests in editorconfig-vim itself, not any tests of editorconfig-core-c. |
@dvzrv Do you need further support for this issue? |
I don't. I'm relying on the ones that are auto-generated by this project's github repository upon tagging. When it comes to the tests I'm using the specific commit mentioned in the initial ticket description of https://github.com/editorconfig/editorconfig-plugin-tests/
Thanks! I'll do that!
Ah interesting! |
Weird! Sorry to say I do not know off-hand. If it occurs again, please post the exact error messages, and exact package versions, as well as the commands you ran. Random thoughts:
|
I have now also tried running (similar to the CI script) you use from a clone of this repository and the test still hangs.
Not really sure how to further proceed here, as it seems that this can not be run elsewhere but CI 😢
Tests always hang and I have to disable them to be able to create the package:
|
Switch to git sources for easier handling of test artifacts. Disable tests as they hang indefinitely: editorconfig/editorconfig-vim#150 git-svn-id: file:///srv/repos/svn-community/svn@1448620 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Switch to git sources for easier handling of test artifacts. Disable tests as they hang indefinitely: editorconfig/editorconfig-vim#150 git-svn-id: file:///srv/repos/svn-community/svn@1448620 9fca08f4-af9d-4005-b8df-a31f2cc04f65
I just tried with ZIP files, and it worked fine when using the deps I got using Bundler. I'm afraid I can't help you if there's a dependency issue :( --- I don't have enough Ruby experience. This worked for me:
All tests run, and pass. Note: I don't even have
|
The 1.2.0 release appears to have fixed this for me finally. |
Hi! When packaging 1.1.1 for Arch Linux I attempted to run the test suite.
As I'm providing all the ruby dependencies, I don't have to build anything before testing and just start rspec directly:
Unfortunately a lot of the tests are unable to run because the files do not exist. I have already copied a version of the editorconfig-plugin-tests in place, so that the missing tests due to the gitmodules are not a problem.
Anyways, I still have to apply the following patch to be able to run (the remaining) test suite successfully (it otherwise gets stuck at high CPU load and never returns and has to be killed manually):
The text was updated successfully, but these errors were encountered: