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