From 62843e166c1a6b83d94c83c4f3e41ef5de3a7521 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Sun, 28 Sep 2008 09:03:50 -0600 Subject: [PATCH] Add xdump tests to nightly builds Add xdump meta test to Turn 00 Player 02 to verify player visibility. Add xdump test to Turn 99 Player 00 to verify xdump output. Add xdump test to Turn 99 Player 01 to player's version of xdump output. --- src/scripts/nightly/tests/00/02 | 49 ++++++++++++++++++++++++++++++ src/scripts/nightly/tests/99/00 | 53 +++++++++++++++++++++++++++++++++ src/scripts/nightly/tests/99/01 | 53 +++++++++++++++++++++++++++++++++ 3 files changed, 155 insertions(+) create mode 100755 src/scripts/nightly/tests/99/00 create mode 100755 src/scripts/nightly/tests/99/01 diff --git a/src/scripts/nightly/tests/00/02 b/src/scripts/nightly/tests/00/02 index c9304a4f..9fb9b9a5 100755 --- a/src/scripts/nightly/tests/00/02 +++ b/src/scripts/nightly/tests/00/02 @@ -7,4 +7,53 @@ desi 1,-1 + mov c 0,0 205 uh desi 1,-1 g cen * +xdump meta sect +xdump meta ship +xdump meta plane +xdump meta land +xdump meta nuke +xdump meta news +xdump meta treaty +xdump meta trade +xdump meta nat +xdump meta loan +xdump meta commodity +xdump meta lost +xdump meta realm +xdump meta game +xdump meta item +xdump meta product +xdump meta sect-chr +xdump meta ship-chr +xdump meta plane-chr +xdump meta land-chr +xdump meta nuke-chr +xdump meta news-chr +xdump meta infrastructure +xdump meta updates +xdump meta table +xdump meta version +xdump meta meta +xdump meta sector +xdump meta agreement-status +xdump meta land-chr-flags +xdump meta level +xdump meta meta-flags +xdump meta meta-type +xdump meta missions +xdump meta nation-flags +xdump meta nation-rejects +xdump meta nation-relationships +xdump meta nation-status +xdump meta nuke-chr-flags +xdump meta packing +xdump meta page-headings +xdump meta plague-stages +xdump meta plane-chr-flags +xdump meta plane-flags +xdump meta resources +xdump meta retreat-flags +xdump meta ship-chr-flags +xdump meta treaty-flags +xdump meta country EOF diff --git a/src/scripts/nightly/tests/99/00 b/src/scripts/nightly/tests/99/00 new file mode 100755 index 00000000..c841d75c --- /dev/null +++ b/src/scripts/nightly/tests/99/00 @@ -0,0 +1,53 @@ +#!/bin/sh +. "${SCRIPTDIR}"/common.sh +runfeed POGO peter << EOF +xdump sect 0,0 +xdump ship * +xdump plane * +xdump land * +xdump nuke * +xdump news * +xdump treaty * +xdump trade * +xdump nat * +xdump loan * +xdump commodity * +xdump lost * +xdump realm 0 +xdump game * +xdump item * +xdump product * +xdump sect-chr * +xdump ship-chr * +xdump plane-chr * +xdump land-chr * +xdump nuke-chr * +xdump news-chr * +xdump infrastructure * +xdump updates * +xdump table * +xdump version * +xdump meta * +xdump sector * +xdump agreement-status * +xdump land-chr-flags * +xdump level * +xdump meta-flags * +xdump meta-type * +xdump missions * +xdump nation-flags * +xdump nation-rejects * +xdump nation-relationships * +xdump nation-status * +xdump nuke-chr-flags * +xdump packing * +xdump page-headings * +xdump plague-stages * +xdump plane-chr-flags * +xdump plane-flags * +xdump resources * +xdump retreat-flags * +xdump ship-chr-flags * +xdump treaty-flags * +xdump country * +EOF diff --git a/src/scripts/nightly/tests/99/01 b/src/scripts/nightly/tests/99/01 new file mode 100755 index 00000000..1a9306c1 --- /dev/null +++ b/src/scripts/nightly/tests/99/01 @@ -0,0 +1,53 @@ +#!/bin/sh +. "${SCRIPTDIR}"/common.sh +runfeed 1 1 << EOF +xdump sect 0,0 +xdump ship * +xdump plane * +xdump land * +xdump nuke * +xdump news * +xdump treaty * +xdump trade * +xdump nat * +xdump loan * +xdump commodity * +xdump lost * +xdump realm * +xdump game * +xdump item * +xdump product * +xdump sect-chr * +xdump ship-chr * +xdump plane-chr * +xdump land-chr * +xdump nuke-chr * +xdump news-chr * +xdump infrastructure * +xdump updates * +xdump table * +xdump version * +xdump meta * +xdump sector * +xdump agreement-status * +xdump land-chr-flags * +xdump level * +xdump meta-flags * +xdump meta-type * +xdump missions * +xdump nation-flags * +xdump nation-rejects * +xdump nation-relationships * +xdump nation-status * +xdump nuke-chr-flags * +xdump packing * +xdump page-headings * +xdump plague-stages * +xdump plane-chr-flags * +xdump plane-flags * +xdump resources * +xdump retreat-flags * +xdump ship-chr-flags * +xdump treaty-flags * +xdump country * +EOF