1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Mark some LLVM tests which require a default_triple (NFC)

These tests involve a JIT, and like other tests should have the
REQUIRE: default_triple present.
This allow to run `ninja check` without the host target configured
in.
This commit is contained in:
Mehdi Amini 2020-06-19 04:41:24 +00:00
parent 1f6aae43d0
commit bab5ba74e9
5 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
; RUN: llvm-go test llvm.org/llvm/bindings/go/llvm
; REQUIRES: shell
; REQUIRES: shell, default_triple
; UNSUPPORTED: asan, ubsan, msan

View File

@ -1,4 +1,5 @@
# RUN: Kaleidoscope-Ch4 < %s 2>&1 | FileCheck %s
# REQUIRES: default_target
# Test basic definition, binding, and execution.
def foo(x) x + 1;

View File

@ -1,4 +1,5 @@
# RUN: Kaleidoscope-Ch5 < %s 2>&1 | FileCheck %s
# REQUIRES: default_target
# Test 'if' expression.
def foo(x) if x < 10 then 0 else 1;
@ -16,4 +17,4 @@ for i = 1, i < 5, 1.0 in
# CHECK: 3.0
# CHECK: 4.0
# CHECK: 5.0
# CHECK: Evaluated to 0.000000
# CHECK: Evaluated to 0.000000

View File

@ -1,4 +1,5 @@
# RUN: Kaleidoscope-Ch6 < %s 2>&1 | FileCheck %s
# REQUIRES: default_target
# Test unary operator definition.
def unary-(x) 0 - x;

View File

@ -1,4 +1,5 @@
# RUN: Kaleidoscope-Ch7 < %s 2>&1 | FileCheck %s
# REQUIRES: default_target
# Sequence operator and iterative fibonacci function to test user defined vars.
def binary : 1 (x y) y;