1#!/bin/sh
2
3if [ -z "$srcdir" -o -z "$abs_builddir" ]; then
4    echo ""
5    echo "Warning: you're invoking the script manually and things may fail."
6    echo "Attempting to determine/set srcdir and abs_builddir variables."
7    echo ""
8
9    # Should point to `dirname Makefile.glsl.am`
10    srcdir=./../../../
11    cd `dirname "$0"`
12    # Should point to `dirname Makefile` equivalent to the above.
13    abs_builddir=`pwd`/../../../
14fi
15
16$PYTHON $srcdir/glsl/glcpp/tests/glcpp_test.py $abs_builddir/glsl/glcpp/glcpp $srcdir/glsl/glcpp/tests --unix --windows --oldmac --bizarro
17