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

Do not ignore non-zero error code from 'make minitest' #17510

Merged
merged 1 commit into from
Feb 4, 2020

Conversation

jkeenan
Copy link
Contributor

@jkeenan jkeenan commented Jan 31, 2020

In pipelines like:

$ sh ./Configure -des -Dusedevel && \
    make minitest && make test_harness

... we don't want to run 'make test_harness' unless 'make minitest' has
succeeded.

To test:

$ echo "exit(1);" >> t/base/cond.t
$ make minitest && echo "hello world"
# [note that minitest fails quickly and 'echo' is not reached]

$ git checkout -- t/base/cond.t
$ make minitest && echo "hello world"
# [note that minitest runs and 'echo' is reached]

For: 16160
Originally: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=132139

In pipelines like:

    $ sh ./Configure -des -Dusedevel && \
        make minitest && make test_harness

... we don't want to run 'make test_harness' unless 'make minitest' has
succeeded.

To test:

    $ echo "exit(1);" >> t/base/cond.t
    $ make minitest && echo "hello world"
    # [note that minitest fails quickly and 'echo' is not reached]

    $ git checkout -- t/base/cond.t
    $ make minitest && echo "hello world"
    # [note that minitest runs and 'echo' is reached]

For: #16160
Originally: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=132139
@doughera88
Copy link
Contributor

doughera88 commented Feb 4, 2020 via email

@jkeenan jkeenan merged commit 2b689a4 into blead Feb 4, 2020
@jkeenan jkeenan deleted the smoke-me/jkeenan/ghi-16160-miniperl branch February 4, 2020 14:28
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.

2 participants