Check for functions _elm_XXX_get on test_setter script
authorBruno Dilly <bdilly@profusion.mobi>
Mon, 8 Nov 2010 17:47:12 +0000 (17:47 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Mon, 8 Nov 2010 17:47:12 +0000 (17:47 +0000)
To avoid false positive on functions like elm_widget_item_cursor_get

SVN revision: 54337

tests/test_setter.sh

index 2527264..8b82532 100755 (executable)
@@ -2,7 +2,7 @@
 ret=0
 
 check(){
-    func=$(echo $1 | grep -oe 'elm_\w\+')
+    func=$(echo $1 | grep -oe '_\?elm_\w\+')
     base=${func%_set}
     echo $1 | grep -qe "_set(const \+[^\(char \+\*\)]"
     if [ $? == 0 ];then