Blacklist some false positives on elm test_setter.sh

SVN revision: 54373
This commit is contained in:
Bruno Dilly 2010-11-09 20:22:44 +00:00
parent e3afcd4d8f
commit 90dd15d911
2 changed files with 23 additions and 0 deletions

View File

@ -1,9 +1,15 @@
#!/bin/bash
ret=0
BLACKLIST="tests/test_setter_blacklist.txt"
check(){
func=$(echo $1 | grep -oe '_\?elm_\w\+')
base=${func%_set}
cat $BLACKLIST | grep -q $func
if [ $? == 0 ];then
return
fi
echo $1 | grep -qe "_set(const \+[^\(char \+\*\)]"
if [ $? == 0 ];then
echo -e "\e[31;1mCONST\e[m\t $func"

View File

@ -0,0 +1,17 @@
elm_widget_del_hook_set
elm_widget_del_pre_hook_set
elm_widget_focus_hook_set
elm_widget_activate_hook_set
elm_widget_disable_hook_set
elm_widget_theme_hook_set
elm_widget_event_hook_set
elm_widget_changed_hook_set
elm_widget_signal_emit_hook_set
elm_widget_signal_callback_add_hook_set
elm_widget_signal_callback_del_hook_set
elm_widget_focus_next_hook_set
elm_widget_on_focus_hook_set
elm_widget_on_change_hook_set
elm_widget_on_show_region_hook_set
elm_widget_focus_region_hook_set
elm_widget_on_focus_region_hook_set