mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-26 09:49:48 +00:00
Fix incorrect "REQUIRE" (default_target->default_triple) introduced in 59f45a1cdb
Adding `default_target` fixed the build by excluding these tests... but this excluded these tests from ever running! The correct feature check is `default_triple`
This commit is contained in:
parent
4d1fd33561
commit
8b64adb0a2
@ -1,5 +1,5 @@
|
||||
# RUN: Kaleidoscope-Ch4 < %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: default_target
|
||||
# REQUIRES: default_triple
|
||||
|
||||
# Test basic definition, binding, and execution.
|
||||
def foo(x) x + 1;
|
||||
|
@ -1,5 +1,5 @@
|
||||
# RUN: Kaleidoscope-Ch5 < %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: default_target
|
||||
# REQUIRES: default_triple
|
||||
|
||||
# Test 'if' expression.
|
||||
def foo(x) if x < 10 then 0 else 1;
|
||||
|
@ -1,5 +1,5 @@
|
||||
# RUN: Kaleidoscope-Ch6 < %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: default_target
|
||||
# REQUIRES: default_triple
|
||||
|
||||
# Test unary operator definition.
|
||||
def unary-(x) 0 - x;
|
||||
|
@ -1,5 +1,5 @@
|
||||
# RUN: Kaleidoscope-Ch7 < %s 2>&1 | FileCheck %s
|
||||
# REQUIRES: default_target
|
||||
# REQUIRES: default_triple
|
||||
|
||||
# Sequence operator and iterative fibonacci function to test user defined vars.
|
||||
def binary : 1 (x y) y;
|
||||
|
Loading…
Reference in New Issue
Block a user