Chromium Code Reviews| Index: tests_lit/parse_errs/bad-bb-size.test |
| diff --git a/tests_lit/parse_errs/bad-bb-size.test b/tests_lit/parse_errs/bad-bb-size.test |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..13bfb84f2f463a577e5b4d8afb711433f84c1e4a |
| --- /dev/null |
| +++ b/tests_lit/parse_errs/bad-bb-size.test |
| @@ -0,0 +1,11 @@ |
| +; Test if we recognize a bad basic block count in a function block. |
| + |
| +; REQUIRES: allow_dump |
| + |
| +; RUN: pnacl-bcfuzz -bitcode-as-text %p/Inputs/bad-bb-size.tbc -output - \ |
|
Karl
2015/08/14 19:18:21
Fixing test to not use pnacl-bcfuzz, since the res
|
| +; RUN: | not %pnacl_sz -bitcode-as-text %p/Inputs/bad-bb-size.tbc \ |
| +; RUN: -bitcode-format=pnacl -notranslate -no-ir-gen -build-on-read 2>&1 \ |
| +; RUN: | FileCheck %s |
| + |
| +; CHECK: Function defines 3105555534 basic blocks, which is too big for a function containing 36 bytes |
| + |