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}
13 python ../prepare_input.py --config $(basename $(pwd)) ref
15 LIST="pixels_out.cook pixels_out.kajiya pixels_out.rushmeier"
17 ${PREFIX} $1 ${DASHDASH} chair.control.kajiya chair.camera chair.surfaces chair.kajiya.ppm ppm pixels_out.kajiya \
18 > stdout1.out 2> stderr1.out
20 ${PREFIX} $1 ${DASHDASH} chair.control.cook chair.camera chair.surfaces chair.cook.ppm ppm pixels_out.cook \
21 > stdout2.out 2> stderr2.out
23 ${PREFIX} $1 ${DASHDASH} chair.control.rushmeier chair.camera chair.surfaces chair.rushmeier.ppm ppm pixels_out.rushmeier \
24 > stdout3.out 2> stderr3.out
27 if [[ "${VERIFY}" != "no" ]] ; then
30 ../specdiff.sh -a 0.005 $i data/ref/output/$i