From e4923626f6a501db5a861bddee786f25f6e6296a Mon Sep 17 00:00:00 2001 From: czoido Date: Tue, 24 Sep 2024 15:24:45 +0200 Subject: [PATCH] check if docker tests run by any chance --- test/functional/command/runner_test.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/functional/command/runner_test.py b/test/functional/command/runner_test.py index fb601288aeb..2b264f019a6 100644 --- a/test/functional/command/runner_test.py +++ b/test/functional/command/runner_test.py @@ -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 . `` @@ -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 . `` @@ -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 . `` @@ -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 . `` @@ -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 . `` @@ -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 . `` @@ -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): @@ -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 . `` @@ -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 . `` @@ -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 . ``