From e62b5c580dd283f2533f9049b316c2ee59a9e934 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 19 Jul 2018 04:57:33 +0200 Subject: [PATCH] update tests to reflect new lighthouse rules --- tests/run-turn.sh | 10 +++++----- tests/write-reports.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/run-turn.sh b/tests/run-turn.sh index ad2e0e6b8..470cb6e2b 100755 --- a/tests/run-turn.sh +++ b/tests/run-turn.sh @@ -54,11 +54,11 @@ assert_grep_count reports/$CRFILE '^EINHEIT' 2 assert_grep_count reports/$CRFILE '^GEGENSTAENDE' 2 assert_grep_count reports/185-heg.cr '185;Runde' 1 -assert_grep_count reports/185-heg.cr ';Baeume' 4 -assert_grep_count reports/185-heg.cr '"B.ume";type' 4 -assert_grep_count reports/185-heg.cr '"Pferde";type' 6 -assert_grep_count reports/185-heg.nr 'erblickt' 6 -assert_grep_count reports/185-heg.cr '"lighthouse";visibility' 6 +assert_grep_count reports/185-heg.cr ';Baeume' 2 +assert_grep_count reports/185-heg.cr '"B.ume";type' 2 +assert_grep_count reports/185-heg.cr '"Pferde";type' 2 +assert_grep_count reports/185-heg.nr 'erblickt' 2 +assert_grep_count reports/185-heg.cr '"lighthouse";visibility' 2 assert_grep_count reports/185-heg.cr '"neighbour";visibility' 11 assert_grep_count reports/185-6rLo.cr '^EINHEIT' 2 assert_grep_count reports/185-6rLo.cr '^REGION' 13 diff --git a/tests/write-reports.sh b/tests/write-reports.sh index 5621e84a9..c3d1066e3 100755 --- a/tests/write-reports.sh +++ b/tests/write-reports.sh @@ -19,7 +19,7 @@ done #set -e cd $ROOT/tests setup -#cleanup +cleanup VALGRIND=`which valgrind` TESTS=../Debug/eressea/test_eressea SERVER=../Debug/eressea/eressea