diff options
author | Derick Huth <derickhuth@gmail.com> | 2016-01-18 15:43:52 -0700 |
---|---|---|
committer | Derick Huth <derickhuth@gmail.com> | 2016-01-18 15:43:52 -0700 |
commit | 983749787ee0dc1beb1107873e8a13ebdaeba576 (patch) | |
tree | e9bff337b4d5582b87ad2edc25baa4d3b0c163fa /test-chill/testchill/omega.py | |
parent | 0cff3f9a3c4ccd434900162ebef4bd814850f481 (diff) | |
download | chill-983749787ee0dc1beb1107873e8a13ebdaeba576.tar.gz chill-983749787ee0dc1beb1107873e8a13ebdaeba576.tar.bz2 chill-983749787ee0dc1beb1107873e8a13ebdaeba576.zip |
restore test suite
Diffstat (limited to 'test-chill/testchill/omega.py')
-rw-r--r-- | test-chill/testchill/omega.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test-chill/testchill/omega.py b/test-chill/testchill/omega.py new file mode 100644 index 0000000..962333a --- /dev/null +++ b/test-chill/testchill/omega.py @@ -0,0 +1,29 @@ +from . import test +from . import util + + + +class BuildOmegaTestCase(test.TestCase): + def __init__(self, omega_dir, version='dev'): + super(BuildOmegaTestCase, self).__init__(BuildOmegaTestCase.getname(version)) + self.omega_dir = omega_dir + self.version = version + + @staticmethod + def getname(version): + if version == 'release': + return 'omega-release' + else: + return 'omega' + + def setUp(self): + util.shell('make clean', wd=self.omega_dir) + + def tearDown(self): + pass + + def run(self): + util.shell('make depend', wd=self.omega_dir) + util.shell('make', wd=self.omega_dir) + + |