aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
Diffstat (limited to 'validation')
-rwxr-xr-xvalidation/test-suite32
1 files changed, 0 insertions, 32 deletions
diff --git a/validation/test-suite b/validation/test-suite
index 903a2b90..07d9e7fc 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -55,7 +55,6 @@ get_tag_value()
check_output_ignore=0
check_output_contains=0
check_output_excludes=0
- check_output_pattern_obsolete=0
check_output_pattern=0
check_arch_ignore=""
check_arch_only=""
@@ -77,7 +76,6 @@ get_tag_value()
check-output-ignore) check_output_ignore=1 ;;
check-output-contains:) check_output_contains=1 ;;
check-output-excludes:) check_output_excludes=1 ;;
- check-output-pattern-) check_output_pattern_obsolete=1 ;;
check-output-pattern) check_output_pattern=1 ;;
check-arch-ignore:) arch=$(uname -m)
check_arch_ignore="$val" ;;
@@ -150,29 +148,6 @@ has_none_patterns()
}
##
-# nbr_patterns(ifile tag ofile) - does ofile contains the
-# the patterns given by ifile's tags
-# the right number of time?
-nbr_patterns()
-{
- ifile="$1"
- patt="$2"
- ofile="$3"
- grep "$patt-[0-9][0-9]*-times:" "$ifile" | \
- sed -e "s/^.*$patt-\([0-9][0-9]*\)-times: *\(.*\)/\1 \2/" | \
- while read nbr pat; do
- n=$(grep -s "$pat" "$ofile" | wc -l)
- if [ "$n" -ne "$nbr" ]; then
- error "test '$ifile' failed"
- error " Pattern '$pat' expected $nbr times but got $n times"
- return 1
- fi
- done
-
- return $?
-}
-
-##
# minmax_patterns(ifile tag ofile) - does ofile contains the
# the patterns given by ifile's tags
# the right number of time?
@@ -371,13 +346,6 @@ do_test()
test_failed=1
fi
fi
- if [ $check_output_pattern_obsolete -eq 1 ]; then
- # verify the 'check-output-pattern-X-times' tags
- nbr_patterns "$file" 'check-output-pattern' $file.output.got
- if [ "$?" -ne "0" ]; then
- test_failed=1
- fi
- fi
if [ $check_output_pattern -eq 1 ]; then
# verify the 'check-output-pattern(...)' tags
minmax_patterns "$file" 'check-output-pattern' $file.output.got