Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: tests_lit/parse_errs/multiple-modules.test

Issue 1362643002: Fix pnacl-sz to not accept files containing multiple modules. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests_lit/parse_errs/Inputs/multiple-modules.tbc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; Tests that we check for multiple modules in the bitcode file.
2
3 ; REQUIRES: no_minimal_build
4
5 ; RUN: not %pnacl_sz -bitcode-as-text \
6 ; RUN: %p/Inputs/multiple-modules.tbc \
7 ; RUN: -bitcode-format=pnacl -notranslate -build-on-read 2>&1 \
8 ; RUN: | FileCheck %s
9
10 ; CHECK: Input can't contain more than one module
11
12 ; RUN: pnacl-bcfuzz -bitcode-as-text \
13 ; RUN: %p/Inputs/multiple-modules.tbc -output - \
14 ; RUN: | not pnacl-bcdis -no-records | FileCheck -check-prefix=ASM %s
15
16 ; ASM: module { // BlockID = 8
17 ; ASM: version 1;
18 ; ASM: }
19 ; ASM: module { // BlockID = 8
20 ; ASM: version 1;
21 ; ASM: }
22 ; ASM: Error(38:4): Expected 1 top level block in bitcode: Found:2
OLDNEW
« no previous file with comments | « tests_lit/parse_errs/Inputs/multiple-modules.tbc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698