summaryrefslogtreecommitdiff
path: root/ekhtml/testsuite/test_crazypage.sh
blob: adcd98c97f4f31bf9d99f0c9ec50d0bbe3de7824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

for ntags in 1 10 100 1000
do
    for bogus in 0 1
    do
	python gen_html.py $ntags $bogus > crazy.page
	for bytesize in 1 13 162 983 8192
	do
	    echo numElements=$ntags allowBogusTags=$bogus feedSize=$bytesize
	    ./tester $bytesize < crazy.page > ek.test
	    ./pyparser.py < crazy.page > py.test
	    diff -i -u ek.test py.test || exit 1
	done
    done
done