update test data to include ships and buildings

This commit is contained in:
Enno Rehling 2015-08-05 18:03:43 +02:00
parent 76740192f8
commit 75235a11fc
2 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -22,8 +22,11 @@ cleanup
valgrind ../Debug/eressea/eressea -t 184 ../scripts/reports.lua valgrind ../Debug/eressea/eressea -t 184 ../scripts/reports.lua
[ -d reports ] || quit 4 "no reports directory created" [ -d reports ] || quit 4 "no reports directory created"
CRFILE=184-zvto.cr CRFILE=184-zvto.cr
grep -q FACTION reports/$CRFILE || quit 1 "CR did not contain any factions" grep -q PARTEI reports/$CRFILE || quit 1 "CR did not contain any factions"
grep -q REGION reports/$CRFILE || quit 2 "CR did not contain any regions" grep -q REGION reports/$CRFILE || quit 2 "CR did not contain any regions"
grep -q EINHEIT reports/$CRFILE || quit 3 "CR did not contain any units" grep -q SCHIFF reports/$CRFILE || quit 3 "CR did not contain any ships"
grep -q BURG reports/$CRFILE || quit 4 "CR did not contain any buildings"
grep -q EINHEIT reports/$CRFILE || quit 5 "CR did not contain any units"
grep -q GEGENSTAENDE reports/$CRFILE || quit 6 "CR did not contain any items"
echo "integration tests: PASS" echo "integration tests: PASS"
cleanup cleanup