diff options
Diffstat (limited to 'tests/test_setter.sh')
-rwxr-xr-x | tests/test_setter.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_setter.sh b/tests/test_setter.sh index 8b825320f..eef720083 100755 --- a/tests/test_setter.sh +++ b/tests/test_setter.sh @@ -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" |