Skip to content

build: fix test failures not failing Travis builds #27176

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

richardlau
Copy link
Member

@richardlau richardlau commented Apr 10, 2019

The exit code of the make command used to execute tests was being lost
after being piped through to grep.

Refs: #25947 (comment)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@richardlau richardlau added the wip Issues and PRs that are still a work in progress. label Apr 10, 2019
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Apr 10, 2019
@richardlau
Copy link
Member Author

richardlau commented Apr 10, 2019

Second commit is temporary to check Travis correctly fails on a test failure. Will remove once confirmed.

Edit: https://travis-ci.com/nodejs/node/jobs/191826848 failed (as expected 🎉 )

@richardlau richardlau removed the wip Issues and PRs that are still a work in progress. label Apr 10, 2019
@richardlau
Copy link
Member Author

@richardlau richardlau mentioned this pull request Apr 10, 2019
3 tasks
@richardlau richardlau added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 10, 2019
The exit code of the make command used to execute tests was being lost
after being piped through to grep.
@richardlau
Copy link
Member Author

Rebased to fix merge conflict.

Lite-CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/3235/

@richardlau
Copy link
Member Author

Landed in 7b0d867.

@richardlau richardlau closed this Apr 12, 2019
richardlau added a commit that referenced this pull request Apr 12, 2019
The exit code of the make command used to execute tests was being lost
after being piped through to grep.

PR-URL: #27176
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
@richardlau richardlau deleted the travisfail branch April 12, 2019 20:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants