mirror of
https://github.com/brl/mutter.git
synced 2024-12-29 14:22:13 +00:00
3d2a1e2d81
* clutter/cogl/common/cogl-mesh.c: Make sure we use the appropriate cogl_wrap_gl* funcs as appropriate * clutter/cogl/gles/cogl-gles2-wrapper.c * clutter/cogl/gles/cogl-gles2-wrapper.h: In our glColorPointer wrapper we needed to mark our color attribute as normalized. * tests/conform/Makefile.am: When creating unit test symlinks we use the -l gtester option to list tests, but when using the PVR SDK the test binary also spews out some extra info that caused lots of random symlinks to be created. We now grep for lines starting with a '/' * tests/conform/test-mesh-contiguous.c * tests/conform/test-mesh-mutability.c: Use cogl_set_source_color instead of directly calling glColor4ub
19 lines
622 B
Bash
Executable File
19 lines
622 B
Bash
Executable File
#!/bin/sh
|
|
|
|
UNIT_TEST=`basename $0`
|
|
UNIT_TEST_PATH=`./test-conformance -l -m thorough |grep '^/'|grep "$UNIT_TEST\$"`
|
|
|
|
echo "Running: gtester -p $UNIT_TEST_PATH ./test-conformance"
|
|
echo ""
|
|
gtester -p $UNIT_TEST_PATH ./test-conformance
|
|
|
|
echo ""
|
|
echo "NOTE: For debugging purposes, you can run this single test as follows:"
|
|
echo "$ libtool --mode=execute \\"
|
|
echo " gdb --eval-command=\"b $UNIT_TEST\" \\"
|
|
echo " --args ./test-conformance -p $UNIT_TEST_PATH"
|
|
echo "or:"
|
|
echo "$ env G_SLICE=always-malloc \\"
|
|
echo " libtool --mode=execute \\"
|
|
echo " valgrind ./test-conformance -p $UNIT_TEST_PATH"
|