diff options
author | Phillip Smyth <phillip.smyth@codethink.co.uk> | 2018-08-20 13:58:00 +0100 |
---|---|---|
committer | Phillip Smyth <phillip.smyth@codethink.co.uk> | 2018-08-20 13:58:00 +0100 |
commit | 1ac64da2f604b4330e818043d829e8791f1e5dba (patch) | |
tree | 4e5eaa84825a84f9af8468accab01786584d6f9d /tests/sources/git.py | |
parent | 5a66710733fcb0d3e24da9ba935de56b79bdb4c5 (diff) | |
download | buildstream-no_fuse_flag.tar.gz |
Added NO_FUSE flag to tests that need fuseno_fuse_flag
Diffstat (limited to 'tests/sources/git.py')
-rw-r--r-- | tests/sources/git.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/sources/git.py b/tests/sources/git.py index ef18e3ce3..f3d4d0493 100644 --- a/tests/sources/git.py +++ b/tests/sources/git.py @@ -5,13 +5,15 @@ from buildstream._exceptions import ErrorDomain from buildstream import _yaml from tests.testutils import cli, create_repo -from tests.testutils.site import HAVE_GIT +from tests.testutils.site import HAVE_GIT, IS_LINUX, NO_FUSE DATA_DIR = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'git', ) +pytestmark = pytest.mark.skipif(IS_LINUX and NO_FUSE, reason='FUSE not supported on this system') + @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) |