OSDN Git Service

Fix invalid tests to not run when minimal.
authorKarl Schimpf <kschimpf@google.com>
Tue, 30 Jun 2015 21:29:58 +0000 (14:29 -0700)
committerKarl Schimpf <kschimpf@google.com>
Tue, 30 Jun 2015 21:29:58 +0000 (14:29 -0700)
Deals with fact that minimal builds generate simple "generic" error
messages, rather than descriptive error messages.

BUG=None
R=stichnot@chromium.org

Review URL: https://codereview.chromium.org/1209083005.

tests_lit/llvm2ice_tests/invalid.test

index e6ec2ed..8cca520 100644 (file)
@@ -1,6 +1,11 @@
 ; Test that we handle functions that don't end with a terminator instruction.
 ; See issue: https://code.google.com/p/nativeclient/issues/detail?id=4214
 
+; Don't run in minimal build, since error messages are in generic form
+  when minimal.
+
+; REQUIRES: no_minimal_build
+
 RUN: %p2i --expect-fail --tbc -i %p/Input/no-terminator-inst.tbc --insts \
 RUN:        | FileCheck --check-prefix=NO-TERM-INST %s