summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/ExecutionEngine
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-07-13 00:35:12 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-07-13 00:35:12 +0000
commit4f61c646397f29353fe2fb0c76d0c6ca40769ea1 (patch)
tree1f7814cfebfb55ac1bef7ce567abb4cb98c395cc /llvm/test/Regression/ExecutionEngine
parent06a1da3efbdbc2da70cfb912724d9c8dc4d179ff (diff)
downloadbcm5719-llvm-4f61c646397f29353fe2fb0c76d0c6ca40769ea1.tar.gz
bcm5719-llvm-4f61c646397f29353fe2fb0c76d0c6ca40769ea1.zip
Add a test that runs the ParallelJIT example program to ensure that the
JIT can run against a multi-threaded program without getting its data structures messed up. Also had to add the examples directory to the path for the tests so that ParallelJIT can be found. llvm-svn: 22415
Diffstat (limited to 'llvm/test/Regression/ExecutionEngine')
-rw-r--r--llvm/test/Regression/ExecutionEngine/parallel.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Regression/ExecutionEngine/parallel.ll b/llvm/test/Regression/ExecutionEngine/parallel.ll
new file mode 100644
index 00000000000..6dc3f760d99
--- /dev/null
+++ b/llvm/test/Regression/ExecutionEngine/parallel.ll
@@ -0,0 +1,3 @@
+; This isn't really an assembly file. This test runs the ParallelJIT example
+; program and ensures its output is sane.
+; RUN: ParallelJIT | grep -q "Fib2 returned 267914296"
OpenPOWER on IntegriCloud