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

integration-cli: add const to skip daemon-requiring cli tests #10785

Merged
merged 1 commit into from
Feb 18, 2015
Merged

integration-cli: add const to skip daemon-requiring cli tests #10785

merged 1 commit into from
Feb 18, 2015

Commits on Feb 17, 2015

  1. integration-cli: add mechanism to skip tests

    If DOCKER_CLIENTONLY is set for test-integration-cli, we don't set
    the 'daemon' build tag. 'isRemoteDaemon' will help us skip such
    tests without a need to move them to a separate file and accidentally
    lose track of them.
    
    Added `testRequires` function to skip tests based on predefined
    conditions evaluated in runtime. This way we can easily extend test
    requirements like:
    
        testRequires(t, Networking, SameHostDaemon, Linux)
    
    Signed-off-by: Ahmet Alp Balkan <ahmetb@microsoft.com>
    ahmetb committed Feb 17, 2015
    Configuration menu
    Copy the full SHA
    bc37c03 View commit details
    Browse the repository at this point in the history