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
This commit is contained in:
Reid Spencer 2005-07-13 00:35:12 +00:00
parent 06a1da3efb
commit 4f61c64639
2 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,7 @@ RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE)
endif
check-local:: site.exp
PATH="$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
PATH="$(LLVMToolDir):$(LLVMExmplDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
$(RUNTEST) $(RUNTESTFLAGS)
clean::

View File

@ -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"