defaults: set default base branch to 7.0

- add test for default base branch
- fixes #40
This commit is contained in:
Ralph Lange
2020-06-05 17:14:40 +02:00
parent 158bacd256
commit 5f97600612
2 changed files with 6 additions and 0 deletions

View File

@@ -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)

View File

@@ -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