2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
11 EMU_HACK=${EMU_HACK:-yes}
14 if [[ "${EMU_HACK}" != "no" ]] ; then
18 python ../prepare_input.py --config $(basename $(pwd)) ref
20 ${PREFIX} $1 <data/ref/input/crafty.in >stdout.out 2>stderr.out
22 if [[ "${VERIFY}" != "no" ]] ; then
24 cmp stdout.out data/ref/output/crafty.out