aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/python/llvm/tests/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/llvm/tests/base.py')
-rw-r--r--bindings/python/llvm/tests/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bindings/python/llvm/tests/base.py b/bindings/python/llvm/tests/base.py
index 22da5fd..194f1a4 100644
--- a/bindings/python/llvm/tests/base.py
+++ b/bindings/python/llvm/tests/base.py
@@ -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")