summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 14:37:57 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 14:37:57 +0100
commitebb7afe4def25b96708fda330b154de092342250 (patch)
tree789eb64e80f16815afc4cf30c9efef6ebf7985d3 /morphlib/buildsystem_tests.py
parenta8c151d23fdd5d4f396610f849e5c59e3fc9ff11 (diff)
downloadmorph-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.py8
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)
+