[python-bindings] Added code for loading a module from bitcode, getset its datalayout...
[oota-llvm.git] / bindings / python / llvm / tests / base.py
index 22da5fdbdd0970da4eecb5e7282ecb2bf243f616..194f1a41192bfd5d09095e8745f5b8d622007a2d 100644 (file)
@@ -33,3 +33,6 @@ class TestBase(unittest.TestCase):
 
     def get_test_file(self):
         return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_file")
+
+    def get_test_bc(self):
+        return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test.bc")