From d4c03d84598ff2ca252b7bb25fea11bace7cb54c Mon Sep 17 00:00:00 2001 From: Matthew Willis Date: Tue, 30 Jun 2009 11:58:09 +0900 Subject: [PATCH] add invoker test that tests the entire llvm binding so far --- extra/llvm/invoker/invoker-tests.factor | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 extra/llvm/invoker/invoker-tests.factor diff --git a/extra/llvm/invoker/invoker-tests.factor b/extra/llvm/invoker/invoker-tests.factor new file mode 100644 index 0000000000..7ed723ef66 --- /dev/null +++ b/extra/llvm/invoker/invoker-tests.factor @@ -0,0 +1,8 @@ +USING: alien.llvm io.pathnames llvm.invoker llvm.reader tools.test ; + +[ 3 ] [ + << + "extra/llvm/reader/add.bc" resource-path "add" load-into-jit + "add" install-module + >> 1 2 add +] unit-test \ No newline at end of file