[cairo-commit] src/check-def.sh

Carl Worth cworth at kemper.freedesktop.org
Wed Mar 14 15:48:53 PDT 2007


 src/check-def.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 75201c12be74055d6209d48d1d698797665a70b4 (from 5d23d0c90c31b233d5916c12eaf2a1dafc441243)
Author: Carl Worth <cworth at cworth.org>
Date:   Wed Mar 14 15:48:15 2007 -0700

    check-def.sh: Adjust test to exempt _cairo_test_* functions as well as _cairo_*_test_*
    
    This test started failing with the recent renaming of the following
    three functions, (before they had no cairo in their names so they
    were not getting picked up at all):
    
    _cairo_test_fallback_surface_create
    _cairo_test_meta_surface_create
    _cairo_test_paginated_surface_create_for_data
    
    With this change, the failure now goes away again.

diff --git a/src/check-def.sh b/src/check-def.sh
index 563641c..0b8e665 100755
--- a/src/check-def.sh
+++ b/src/check-def.sh
@@ -27,7 +27,7 @@ for def in $defs; do
 
 	{
 		echo EXPORTS
-		eval $get_cairo_syms | grep -v '^_cairo_.*_test_\|^_fini\|^_init' | sort -u
+		eval $get_cairo_syms | grep -v '^_cairo_.*test_\|^_fini\|^_init' | sort -u
 		# cheat: copy the last line from the def file!
 		tail -n1 $def
 	} | diff $def - || status=1


More information about the cairo-commit mailing list