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.
; RUN: llvm-go test llvm.org/llvm/bindings/go/llvm
-; REQUIRES: shell
+; REQUIRES: shell, default_triple
; UNSUPPORTED: asan, ubsan, msan
# RUN: Kaleidoscope-Ch4 < %s 2>&1 | FileCheck %s
+# REQUIRES: default_target
# Test basic definition, binding, and execution.
def foo(x) x + 1;
# RUN: Kaleidoscope-Ch5 < %s 2>&1 | FileCheck %s
+# REQUIRES: default_target
# Test 'if' expression.
def foo(x) if x < 10 then 0 else 1;
# CHECK: 3.0
# CHECK: 4.0
# CHECK: 5.0
-# CHECK: Evaluated to 0.000000
\ No newline at end of file
+# CHECK: Evaluated to 0.000000
# RUN: Kaleidoscope-Ch6 < %s 2>&1 | FileCheck %s
+# REQUIRES: default_target
# Test unary operator definition.
def unary-(x) 0 - x;
# 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;