summaryrefslogtreecommitdiff
path: root/tests/frontend/buildcheckout.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-25 23:21:37 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-25 23:26:42 +0900
commit719a3fc3ee15513a790290d009ace5d3ec7bcd17 (patch)
tree0c1d4348af02d376e53eab02618b25783198cff7 /tests/frontend/buildcheckout.py
parent7caecc685232a11d69f133858194d806531084a9 (diff)
downloadbuildstream-719a3fc3ee15513a790290d009ace5d3ec7bcd17.tar.gz
Load and save junctioned source refs from/to junction.refs
o _projectrefs.py: Additional constructor option to choose the base name o _project.py: Load two ProjectRefs objects, one for the junctions o source.py: Load and save junctioned source refs with the appropriate ProjectRefs object o tests: Updated some tests to expect junctions to be stored in junction.refs This fixes issue #361
Diffstat (limited to 'tests/frontend/buildcheckout.py')
-rw-r--r--tests/frontend/buildcheckout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/buildcheckout.py b/tests/frontend/buildcheckout.py
index ba56fc00c..45ef33bae 100644
--- a/tests/frontend/buildcheckout.py
+++ b/tests/frontend/buildcheckout.py
@@ -272,7 +272,7 @@ def test_unfetched_junction(cli, tmpdir, datafiles, ref_storage):
}
}
}
- _yaml.dump(project_refs, os.path.join(project, 'project.refs'))
+ _yaml.dump(project_refs, os.path.join(project, 'junction.refs'))
# Now try to build it, this should automatically result in fetching
# the junction itself at load time.