#!/bin/bash
set -eu
cp -v asakusa.exr test_tinyexr.cc "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"
mkdir build
cd build
g++ -Og -g -o test_tinyexr -DTINYEXR_IMPLEMENTATION=1 ../test_tinyexr.cc -lz

./test_tinyexr ../asakusa.exr
