diff options
Diffstat (limited to 'tests/examples')
-rw-r--r-- | tests/examples/autotools.py | 2 | ||||
-rw-r--r-- | tests/examples/developing.py | 4 | ||||
-rw-r--r-- | tests/examples/integration-commands.py | 4 | ||||
-rw-r--r-- | tests/examples/junctions.py | 4 | ||||
-rw-r--r-- | tests/examples/running-commands.py | 4 |
5 files changed, 18 insertions, 0 deletions
diff --git a/tests/examples/autotools.py b/tests/examples/autotools.py index ecd140718..e55f33493 100644 --- a/tests/examples/autotools.py +++ b/tests/examples/autotools.py @@ -20,6 +20,8 @@ DATA_DIR = os.path.join( reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_autotools_build(cli, datafiles): project = str(datafiles) diff --git a/tests/examples/developing.py b/tests/examples/developing.py index 2f53c8a33..58416414e 100644 --- a/tests/examples/developing.py +++ b/tests/examples/developing.py @@ -21,6 +21,8 @@ DATA_DIR = os.path.join( reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with SANDBOX') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This is not meant to work with chroot') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_autotools_build(cli, datafiles): project = str(datafiles) @@ -43,6 +45,8 @@ def test_autotools_build(cli, datafiles): reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with SANDBOX') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This is not meant to work with chroot') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_run_unmodified_hello(cli, datafiles): project = str(datafiles) diff --git a/tests/examples/integration-commands.py b/tests/examples/integration-commands.py index 1ed888b5d..146ccdb80 100644 --- a/tests/examples/integration-commands.py +++ b/tests/examples/integration-commands.py @@ -18,6 +18,8 @@ DATA_DIR = os.path.join( reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_integration_commands_build(cli, datafiles): project = str(datafiles) @@ -31,6 +33,8 @@ def test_integration_commands_build(cli, datafiles): reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_integration_commands_run(cli, datafiles): project = str(datafiles) diff --git a/tests/examples/junctions.py b/tests/examples/junctions.py index 18bf4da4f..b77fcba8a 100644 --- a/tests/examples/junctions.py +++ b/tests/examples/junctions.py @@ -19,6 +19,8 @@ DATA_DIR = os.path.join( reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with bubblewrap') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_build(cli, datafiles): project = str(datafiles) @@ -32,6 +34,8 @@ def test_build(cli, datafiles): reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with bubblewrap') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_shell_call_hello(cli, datafiles): project = str(datafiles) diff --git a/tests/examples/running-commands.py b/tests/examples/running-commands.py index 1c419d524..ce81da0c8 100644 --- a/tests/examples/running-commands.py +++ b/tests/examples/running-commands.py @@ -19,6 +19,8 @@ DATA_DIR = os.path.join( @pytest.mark.datafiles(DATA_DIR) @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI def test_running_commands_build(cli, datafiles): project = str(datafiles) @@ -31,6 +33,8 @@ def test_running_commands_build(cli, datafiles): reason='Examples are written for x86-64') @pytest.mark.skipif(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with sandbox') @pytest.mark.skipif(HAVE_SANDBOX == 'chroot', reason='This test is not meant to work with chroot sandbox') +@pytest.mark.xfail(HAVE_SANDBOX == 'buildbox', reason='Not working with BuildBox') +# Not stricked xfail as only fails in CI @pytest.mark.datafiles(DATA_DIR) def test_running_commands_run(cli, datafiles): project = str(datafiles) |