Skip to content

Commit

Permalink
defaults: set default base branch to 7.0
Browse files Browse the repository at this point in the history
- add test for default base branch
- fixes #40
  • Loading branch information
ralphlange committed Jun 6, 2020
1 parent 158bacd commit 5f97600
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cue-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ def test_AddMsiTo314(self):
cue.add_dependency('BASE')
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):
cue.set_setup_from_env(dep)
Expand Down
1 change: 1 addition & 0 deletions defaults.set
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# EPICS Base
BASE=7.0
BASE_DIRNAME=base
BASE_REPONAME=epics-base
BASE_REPOOWNER=epics-base
Expand Down

0 comments on commit 5f97600

Please sign in to comment.