mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-29 13:29:28 +00:00
Summary: Add test targets and the lit-style runner. Test Plan: Run the tests on bot. Reviewers: samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7217 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227389 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
630 B
Plaintext
14 lines
630 B
Plaintext
RUN: ./LLVMFuzzer-SimpleTest 2>&1 | FileCheck %s --check-prefix=SimpleTest
|
|
SimpleTest: Found the target, exiting
|
|
|
|
RUN: not ./LLVMFuzzer-InfiniteTest -timeout=2 2>&1 | FileCheck %s --check-prefix=InfiniteTest
|
|
InfiniteTest: ALARM: working on the last Unit for
|
|
InfiniteTest-NOT: CRASHED; file written to timeout
|
|
|
|
RUN: not ./LLVMFuzzer-TimeoutTest -timeout=5 2>&1 | FileCheck %s --check-prefix=TimeoutTest
|
|
TimeoutTest: ALARM: working on the last Unit for
|
|
TimeoutTest: CRASHED; file written to timeout
|
|
|
|
RUN: not ./LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
|
|
NullDerefTest: CRASHED; file written to crash-
|