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

Side by Side Diff: tests/spec2k/176.gcc/run.train.sh

Issue 6726038: Narrow 176.gcc validation exclusion to issue 893 (x86-32 pnacl). (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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
1 #!/bin/bash 1 #!/bin/bash
2 2
3 set -o nounset 3 set -o nounset
4 set -o errexit 4 set -o errexit
5 5
6 PREFIX=${PREFIX:-} 6 PREFIX=${PREFIX:-}
7 VERIFY=${VERIFY:-yes} 7 VERIFY=${VERIFY:-yes}
8 EMU_HACK=${EMU_HACK:-yes} 8 EMU_HACK=${EMU_HACK:-yes}
9 9
10 10
11 11
12 DASHDASH="" 12 DASHDASH=""
13 if [[ "${PREFIX}" =~ sel_ldr ]] ; then 13 if [[ "${PREFIX}" =~ sel_ldr ]] ; then
14 # TODO(robertm): remove -c option 14 if [[ $1 =~ pnacl.*x8632 ]] ; then
15 # c.f.: http://code.google.com/p/nativeclient/issues/detail?id=717 15 # TODO(robertm): remove -c option
16 DASHDASH="-c --" 16 # c.f.: http://code.google.com/p/nativeclient/issues/detail?id=893
17 DASHDASH="-c --"
18 else
19 DASHDASH="--"
20 fi
17 fi 21 fi
18 22
19 rm -f *.out *.s 23 rm -f *.out *.s
20 24
21 if [[ "${EMU_HACK}" != "no" ]] ; then 25 if [[ "${EMU_HACK}" != "no" ]] ; then
22 touch cp-decl.s 26 touch cp-decl.s
23 fi 27 fi
24 28
25 ${PREFIX} $1 ${DASHDASH} data/train/input/cp-decl.i -o cp-decl.s \ 29 ${PREFIX} $1 ${DASHDASH} data/train/input/cp-decl.i -o cp-decl.s \
26 > stdout.out 2> stderr.out 30 > stdout.out 2> stderr.out
27 31
28 if [[ "${VERIFY}" != "no" ]] ; then 32 if [[ "${VERIFY}" != "no" ]] ; then
29 echo "VERIFY" 33 echo "VERIFY"
30 cmp cp-decl.s data/train/output/cp-decl.s 34 cmp cp-decl.s data/train/output/cp-decl.s
31 fi 35 fi
32 echo "OK" 36 echo "OK"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698