From: Aaron Bockover Date: Sat, 5 May 2007 20:18:45 +0000 (-0000) Subject: Do not require setting MONO_CHECKOUT if run from /eglib/test; ignore functi... X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=4dd27b657036ecbd301876674c824d0c74b859ef;p=mono.git Do not require setting MONO_CHECKOUT if run from /eglib/test; ignore functions that are implemented privately by mono but have the g_* name pattern, causing false positives svn path=/trunk/mono/; revision=76761 --- diff --git a/eglib/test/whats-implemented b/eglib/test/whats-implemented index e376a61fae1..8a113578338 100755 --- a/eglib/test/whats-implemented +++ b/eglib/test/whats-implemented @@ -20,8 +20,14 @@ if [ "x$1" = "x--help" ]; then 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 @@ if [ ! "x$1" = "x--show-only-mono" ]; then 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