Rename GP_Context -> GP_Pixmap
[gfxprim.git] / tests / gfx / runtest.sh
blobb3039a36a17c83423a583ba574b09b427adc286c
1 #!/bin/sh
4 # By default the glibc __libc_message() writes to /dev/tty before calling
5 # the abort(). Exporting this macro makes it to use stderr instead.
7 # The main usage of the function are malloc assertions, so this makes us catch
8 # the malloc error message by catching stderr output.
10 export LIBC_FATAL_STDERR_=1
12 TEST="$1"
13 shift
15 LD_PRELOAD=`pwd`/../framework/libtst_preload.so LD_LIBRARY_PATH=../../build/ "./$TEST" "$@"