mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6a60d18018
commit
87df3636e1
3
test/ExecutionEngine/parallel.ll
Normal file
3
test/ExecutionEngine/parallel.ll
Normal 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"
|
@ -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::
|
||||
|
Loading…
Reference in New Issue
Block a user