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

vcsh: Refactor - Remove failing vcsh tests. #27452

Closed
wants to merge 1 commit into from
Closed

vcsh: Refactor - Remove failing vcsh tests. #27452

wants to merge 1 commit into from

Conversation

johnramsden
Copy link
Member

The vcsh tests always fail with the following:

Test Summary Report
-------------------
t/100-init.t     (Wstat: 5120 Tests: 24 Failed: 20)
  Failed tests:  2, 4-5, 7, 9-24
  Non-zero exit status: 20
t/300-add.t      (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=6, Tests=31,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.21 cusr  0.04 csys =  0.29 CPU)
Result: FAIL
make: *** [Makefile:48: test] Error 1
builder for ‘/nix/store/pp8ybfr0csxwhklvppkyb3wgjlnikwd3-vcsh-1.20170226.drv’ failed with exit code
2
cannot build derivation ‘/nix/store/1ry49szyr5mqrw3cw0fww87cxcahj5xg-system-path.drv’: 1
dependencies couldn't be built
killing process 23594
cannot build derivation
‘/nix/store/00jm45b64i2j6m8jnvh0gwyc5zaxl47g-nixos-system-atom-17.03.git.68b6c50b12.drv’: 1
dependencies couldn't be built

They don't seem to be properly configured to run on NixOS. This patch allows vcsh to build.
The alternative would be to patch the tests in 'vcsh/t' for running on NixOS.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

The vcsh tests always fail with the following:

Test Summary Report
-------------------
t/100-init.t     (Wstat: 5120 Tests: 24 Failed: 20)
  Failed tests:  2, 4-5, 7, 9-24
  Non-zero exit status: 20
t/300-add.t      (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=6, Tests=31,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.21 cusr  0.04 csys =  0.29 CPU)
Result: FAIL
make: *** [Makefile:48: test] Error 1
builder for ‘/nix/store/pp8ybfr0csxwhklvppkyb3wgjlnikwd3-vcsh-1.20170226.drv’ failed with exit code
2
cannot build derivation ‘/nix/store/1ry49szyr5mqrw3cw0fww87cxcahj5xg-system-path.drv’: 1
dependencies couldn't be built
killing process 23594
cannot build derivation
‘/nix/store/00jm45b64i2j6m8jnvh0gwyc5zaxl47g-nixos-system-atom-17.03.git.68b6c50b12.drv’: 1
dependencies couldn't be built

They don't seem to be properly configured to run on NixOS. This patch allows vcsh to build.
The alternative would be to patch the tests in 'vcsh/t' for running on NixOS.
@mention-bot
Copy link

@johnramsden, thanks for your PR! By analyzing the history of the files in this pull request, we identified @oxij and @peti to be potential reviewers.

@peti
Copy link
Member

peti commented Jul 18, 2017

Duh, please don't just disable tests that fail!

The proper solution was implemented in #27446 and has been pushed upstream, so this issue should no longer exist.

@peti peti closed this Jul 18, 2017
@johnramsden
Copy link
Member Author

@peti Perfect, thanks.

@johnramsden johnramsden deleted the vcsh branch July 18, 2017 14:47
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.

None yet

3 participants