diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-30 14:37:57 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-30 14:37:57 +0100 |
commit | ebb7afe4def25b96708fda330b154de092342250 (patch) | |
tree | 789eb64e80f16815afc4cf30c9efef6ebf7985d3 /morphlib/buildsystem_tests.py | |
parent | a8c151d23fdd5d4f396610f849e5c59e3fc9ff11 (diff) | |
download | morph-ebb7afe4def25b96708fda330b154de092342250.tar.gz |
Add tests for looking up autotools, dummy build systems
Diffstat (limited to 'morphlib/buildsystem_tests.py')
-rw-r--r-- | morphlib/buildsystem_tests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/morphlib/buildsystem_tests.py b/morphlib/buildsystem_tests.py index c0c2b510..22214b2b 100644 --- a/morphlib/buildsystem_tests.py +++ b/morphlib/buildsystem_tests.py @@ -121,3 +121,11 @@ class LookupBuildSystemTests(unittest.TestCase): self.assertEqual(type(self.lookup('manual')), morphlib.buildsystem.ManualBuildSystem) + def test_looks_up_autotools(self): + self.assertEqual(type(self.lookup('autotools')), + morphlib.buildsystem.AutotoolsBuildSystem) + + def test_looks_up_dummy(self): + self.assertEqual(type(self.lookup('dummy')), + morphlib.buildsystem.DummyBuildSystem) + |