diff options
-rw-r--r-- | tests/sources/generic/track_cross_junction.py (renamed from tests/frontend/track_cross_junction.py) | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/frontend/track_cross_junction.py b/tests/sources/generic/track_cross_junction.py index e01ea81d9..6a2a8001f 100644 --- a/tests/frontend/track_cross_junction.py +++ b/tests/sources/generic/track_cross_junction.py @@ -1,10 +1,33 @@ +# +# Copyright (C) 2018 Codethink Limited +# Copyright (C) 2019 Bloomberg Finance LP +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library. If not, see <http://www.gnu.org/licenses/>. +# + import os import pytest + from tests.testutils import create_repo, ALL_REPO_KINDS, generate_junction from buildstream.plugintestutils import cli from buildstream import _yaml +# Project directory +TOP_DIR = os.path.dirname(os.path.realpath(__file__)) +DATA_DIR = os.path.join(TOP_DIR, 'project') + def generate_element(repo, element_path, dep_name=None): element = { |