From 1ac64da2f604b4330e818043d829e8791f1e5dba Mon Sep 17 00:00:00 2001 From: Phillip Smyth Date: Mon, 20 Aug 2018 13:58:00 +0100 Subject: Added NO_FUSE flag to tests that need fuse --- tests/sources/git.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/sources/git.py') 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')) -- cgit v1.2.1