Do not require setting MONO_CHECKOUT if run from <checkout>/eglib/test; ignore functi...
authorAaron Bockover <abockover@novell.com>
Sat, 5 May 2007 20:18:45 +0000 (20:18 -0000)
committerAaron Bockover <abockover@novell.com>
Sat, 5 May 2007 20:18:45 +0000 (20:18 -0000)
svn path=/trunk/mono/; revision=76761

eglib/test/whats-implemented

index e376a61fae1974ab7ad47c4b3a50d63d8c5bbdb7..8a113578338639c36281505dc0cb37c947cb1fe2 100755 (executable)
@@ -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