Ejemplo n.º 1
0
 def test_AddMsiTo314(self):
     cue.complete_setup('BASE')
     cue.setup['BASE'] = 'R3.14.12.1'
     msifile = os.path.join(cue.cachedir, 'base-R3.14.12.1', 'src',
                            'dbtools', 'msi.c')
     cue.add_dependency('BASE')
     self.assertTrue(os.path.exists(msifile),
                     'MSI was not added to Base 3.14')
Ejemplo n.º 2
0
 def setUp(self):
     os.environ['SETUP_PATH'] = '.:appveyor'
     if os.path.exists(self.location):
         shutil.rmtree(self.location, onerror=cue.remove_readonly)
     cue.clear_lists()
     os.chdir(builddir)
     cue.source_set('defaults')
     cue.complete_setup('BASE')
Ejemplo n.º 3
0
 def setUp(self):
     os.environ['SETUP_PATH'] = '.'
     if os.path.exists(cue.cachedir):
         shutil.rmtree(cue.cachedir, onerror=cue.remove_readonly)
     cue.clear_lists()
     cue.detect_context()
     cue.source_set('defaults')
     cue.complete_setup('MCoreUtils')
     cue.setup['MCoreUtils'] = 'master'
Ejemplo n.º 4
0
 def setUp(self):
     os.environ['SETUP_PATH'] = '.'
     cue.clear_lists()
     cue.detect_context()
     if os.path.exists(cue.ci['cachedir']):
         shutil.rmtree(cue.ci['cachedir'], onerror=cue.remove_readonly)
     self.location = os.path.join(cue.ci['cachedir'], 'mcoreutils-master')
     self.testfile = os.path.join(self.location, '.ci', 'LICENSE')
     os.path.join(cue.ci['cachedir'], 'mcoreutils-master')
     cue.source_set('defaults')
     cue.complete_setup('MCoreUtils')
     cue.setup['MCoreUtils'] = 'master'
Ejemplo n.º 5
0
 def setUp(self):
     os.environ['SETUP_PATH'] = '.:appveyor'
     cue.clear_lists()
     cue.detect_context()
     self.location = os.path.join(cue.ci['cachedir'], 'base-R3.15.6')
     self.licensefile = os.path.join(self.location, 'LICENSE')
     self.checked_file = os.path.join(self.location, 'checked_out')
     self.release_file = os.path.join(self.location, 'configure', 'RELEASE')
     if os.path.exists(self.location):
         shutil.rmtree(self.location, onerror=cue.remove_readonly)
     os.chdir(builddir)
     cue.source_set('defaults')
     cue.complete_setup('BASE')
Ejemplo n.º 6
0
 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']))