From: Matthew Willis Date: Tue, 30 Jun 2009 02:58:09 +0000 (+0900) Subject: add invoker test that tests the entire llvm binding so far X-Git-Tag: 0.97~5983^2~33^2~4 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=d4c03d84598ff2ca252b7bb25fea11bace7cb54c add invoker test that tests the entire llvm binding so far --- 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