Author: abock
Date: 2007-05-05 16:18:45 -0400 (Sat, 05 May 2007)
New Revision: 76761
Modified:
trunk/mono/eglib/test/whats-implemented
Log:
Do not require setting MONO_CHECKOUT if run from <checkout>/eglib/test; ignore
functions that are implemented privately by mono but have the g_* name pattern,
causing false positives
Modified: trunk/mono/eglib/test/whats-implemented
===================================================================
--- trunk/mono/eglib/test/whats-implemented 2007-05-05 19:53:43 UTC (rev
76760)
+++ trunk/mono/eglib/test/whats-implemented 2007-05-05 20:18:45 UTC (rev
76761)
@@ -20,8 +20,14 @@
exit 1
fi
+IGNORE_FUNCTIONS="g_hash_table_lookup_node
g_hash_table_foreach_remove_or_steal g_hash_table_resize"
+
if [ -z $MONO_CHECKOUT ]; then
- MONO_CHECKOUT=~/cvs/mono/mono
+ if [ -e ../../mono.pc.in ]; then
+ MONO_CHECKOUT=../..
+ else
+ MONO_CHECKOUT=~/cvs/mono/mono
+ fi
fi
if [ ! -d $MONO_CHECKOUT ]; then
@@ -53,6 +59,13 @@
fi
done
+ for ignore_function in $IGNORE_FUNCTIONS; do
+ if [ "x$ignore_function" = "x$mono_function" ]; then
+ matched="yes"
+ break
+ fi
+ done
+
if [ "x$matched" = "xno" ]; then
echo $mono_function >> $RESULTS_FILE.tmp
fi
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches