defaults: set default base branch to 7.0
- add test for default base branch - fixes #40
This commit is contained in:
@@ -285,6 +285,11 @@ class TestAddDependencyOptions(unittest.TestCase):
|
|||||||
cue.add_dependency('BASE')
|
cue.add_dependency('BASE')
|
||||||
self.assertTrue(os.path.exists(msifile), 'MSI was not added to Base 3.14')
|
self.assertTrue(os.path.exists(msifile), 'MSI was not added to Base 3.14')
|
||||||
|
|
||||||
|
def test_DefaultBaseBranch(self):
|
||||||
|
cue.complete_setup('BASE')
|
||||||
|
self.assertEqual(cue.setup['BASE'], '7.0',
|
||||||
|
'Default Base branch is not 7.0 (found {0})'.format(cue.setup['BASE']))
|
||||||
|
|
||||||
|
|
||||||
def repo_access(dep):
|
def repo_access(dep):
|
||||||
cue.set_setup_from_env(dep)
|
cue.set_setup_from_env(dep)
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# EPICS Base
|
# EPICS Base
|
||||||
|
BASE=7.0
|
||||||
BASE_DIRNAME=base
|
BASE_DIRNAME=base
|
||||||
BASE_REPONAME=epics-base
|
BASE_REPONAME=epics-base
|
||||||
BASE_REPOOWNER=epics-base
|
BASE_REPOOWNER=epics-base
|
||||||
|
|||||||
Reference in New Issue
Block a user