core: Rename GP_Context.c -> GP_Pixmap.c
[gfxprim.git] / tests / core / runtest.sh
blobe24868229058690d694be0a99b88d599cf7ced9b
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/ gdb "./$TEST" "$@"