Revert "configure: allow building with python3"
[mesa.git] / src / compiler / glsl / glcpp / tests / glcpp-test.sh
1 #!/bin/sh
2
3 if [ -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`/../../../
14 fi
15
16 $PYTHON2 $srcdir/glsl/glcpp/tests/glcpp_test.py $abs_builddir/glsl/glcpp/glcpp $srcdir/glsl/glcpp/tests --unix --windows --oldmac --bizarro