diff options
Diffstat (limited to 'tests/examples/developing.py')
-rw-r--r-- | tests/examples/developing.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/examples/developing.py b/tests/examples/developing.py index 53a554b86..63052dcaa 100644 --- a/tests/examples/developing.py +++ b/tests/examples/developing.py @@ -17,10 +17,10 @@ DATA_DIR = os.path.join( # Test that the project builds successfully -@pytest.mark.skipif(MACHINE_ARCH != 'x86-64', +@pytest.mark.xfail(MACHINE_ARCH != 'x86-64', 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(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with SANDBOX') +@pytest.mark.xfail(HAVE_SANDBOX == 'chroot', reason='This is not meant to work with chroot') @pytest.mark.datafiles(DATA_DIR) def test_autotools_build(cli, datafiles): project = str(datafiles) @@ -39,10 +39,10 @@ def test_autotools_build(cli, datafiles): # Test the unmodified hello command works as expected. -@pytest.mark.skipif(MACHINE_ARCH != 'x86-64', +@pytest.mark.xfail(MACHINE_ARCH != 'x86-64', 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(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with SANDBOX') +@pytest.mark.xfail(HAVE_SANDBOX == 'chroot', reason='This is not meant to work with chroot') @pytest.mark.datafiles(DATA_DIR) def test_run_unmodified_hello(cli, datafiles): project = str(datafiles) @@ -56,7 +56,7 @@ def test_run_unmodified_hello(cli, datafiles): # Test opening a workspace -@pytest.mark.skipif(not IS_LINUX, reason='Only available on linux') +@pytest.mark.xfail(not IS_LINUX, reason='Only available on linux') @pytest.mark.datafiles(DATA_DIR) def test_open_workspace(cli, tmpdir, datafiles): project = str(datafiles) @@ -73,10 +73,10 @@ def test_open_workspace(cli, tmpdir, datafiles): # Test making a change using the workspace -@pytest.mark.skipif(MACHINE_ARCH != 'x86-64', +@pytest.mark.xfail(MACHINE_ARCH != 'x86-64', 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(not IS_LINUX or not HAVE_SANDBOX, reason='Only available on linux with SANDBOX') +@pytest.mark.xfail(HAVE_SANDBOX == 'chroot', reason='This is not meant to work with chroot') @pytest.mark.datafiles(DATA_DIR) def test_make_change_in_workspace(cli, tmpdir, datafiles): project = str(datafiles) |