Skip to content

Commit

Permalink
check if docker tests run by any chance
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Sep 24, 2024
1 parent e0f2d33 commit e492362
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/functional/command/runner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def dockerfile_path(name=None):
return path


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_cache_shared():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -79,7 +79,7 @@ def test_create_docker_runner_cache_shared():
assert "Removing container" in client.out


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_cache_shared_profile_from_cache():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -122,7 +122,7 @@ def test_create_docker_runner_cache_shared_profile_from_cache():
assert "Removing container" in client.out


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_cache_shared_profile_folder():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -165,7 +165,7 @@ def test_create_docker_runner_cache_shared_profile_folder():
assert "[100%] Built target example" in client.out
assert "Removing container" in client.out

@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_dockerfile_folder_path():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -235,7 +235,7 @@ def test_create_docker_runner_dockerfile_folder_path():
assert "Removing container" in client.out


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_profile_default_folder():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -280,7 +280,7 @@ def test_create_docker_runner_profile_default_folder():
assert "Removing container" in client.out


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_dockerfile_file_path():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -324,7 +324,7 @@ def test_create_docker_runner_dockerfile_file_path():
assert "Removing container" in client.out


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
@pytest.mark.parametrize("build_type,shared", [("Release", False), ("Debug", True)])
@pytest.mark.tool("ninja")
def test_create_docker_runner_with_ninja(build_type, shared):
Expand Down Expand Up @@ -389,7 +389,7 @@ def package(self):
assert 'cmake -G "Ninja"' in client.out
assert "main: {}!".format(build_type) in client.out

@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_from_configfile():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -443,7 +443,7 @@ def test_create_docker_runner_from_configfile():
assert "Removing container" in client.out


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_from_configfile_with_args():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -499,7 +499,7 @@ def test_create_docker_runner_from_configfile_with_args():
assert "Removing container" in client.out


@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
#@pytest.mark.skipif(docker_skip('ubuntu:22.04'), reason="Only docker running")
def test_create_docker_runner_default_build_profile():
"""
Tests the ``conan create . ``
Expand Down

0 comments on commit e492362

Please sign in to comment.