Spelling fixes
This commit is contained in:
parent
e49fb5f367
commit
54927c33e5
9 changed files with 15 additions and 15 deletions
|
@ -172,7 +172,7 @@ int restore(FILE* fp)
|
||||||
bool is_valid(struct game_t valgame)
|
bool is_valid(struct game_t valgame)
|
||||||
{
|
{
|
||||||
/* Save files can be roughly grouped into three groups:
|
/* Save files can be roughly grouped into three groups:
|
||||||
* With valid, reacheable state, with valid, but unreachable
|
* With valid, reachable state, with valid, but unreachable
|
||||||
* state and with invalid state. We check that state is
|
* state and with invalid state. We check that state is
|
||||||
* valid: no states are outside minimal or maximal value
|
* valid: no states are outside minimal or maximal value
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Test-suite makefile for opeb-adventure
|
# Test-suite makefile for open-adventure
|
||||||
|
|
||||||
# Use absolute path so tests that change working directory still use
|
# Use absolute path so tests that change working directory still use
|
||||||
# scripts from parent directory. Note that using $PWD seems to fail
|
# scripts from parent directory. Note that using $PWD seems to fail
|
||||||
|
@ -92,8 +92,8 @@ scheck7:
|
||||||
@./outcheck.sh "test -r with valid input"
|
@./outcheck.sh "test -r with valid input"
|
||||||
SCHECKS = scheck1 scheck2 scheck3 scheck4 scheck5 scheck6 scheck7
|
SCHECKS = scheck1 scheck2 scheck3 scheck4 scheck5 scheck6 scheck7
|
||||||
|
|
||||||
# Don't run this from here, you'll get ctyptic warnings and no good result
|
# Don't run this from here, you'll get cryptic warnings and no good result
|
||||||
# if the advent binary wasn't built with covrage flags. Do "make clean covetage"
|
# if the advent binary wasn't built with coverage flags. Do "make clean coverage"
|
||||||
# from the top-level directory.
|
# from the top-level directory.
|
||||||
coverage: check
|
coverage: check
|
||||||
lcov -t "advent" -o $(PARDIR)/advent.info -c -d $(PARDIR) --gcov-tool=$(GCOV)
|
lcov -t "advent" -o $(PARDIR)/advent.info -c -d $(PARDIR) --gcov-tool=$(GCOV)
|
||||||
|
@ -134,12 +134,12 @@ count:
|
||||||
# does not remove them).
|
# does not remove them).
|
||||||
#
|
#
|
||||||
# The diff file produced has corrected spellings in it. That's what oldfilter
|
# The diff file produced has corrected spellings in it. That's what oldfilter
|
||||||
# is for, to massage out the original dpellings and avoid noise diffs.
|
# is for, to massage out the original spellings and avoid noise diffs.
|
||||||
# Diffs in amount of whitespace and trailing whitespace are ignored
|
# Diffs in amount of whitespace and trailing whitespace are ignored
|
||||||
#
|
#
|
||||||
# A magic comment of NOCOMPARE in a log file excludes it from this comparison.
|
# A magic comment of NOCOMPARE in a log file excludes it from this comparison.
|
||||||
# making it a skipped test in the TAP view. First use of this was to avoid a
|
# making it a skipped test in the TAP view. First use of this was to avoid a
|
||||||
# spurious mismatch on the news text. Other uses avoid spurios mismatches due
|
# spurious mismatch on the news text. Other uses avoid spurious mismatches due
|
||||||
# to bug fixes.
|
# to bug fixes.
|
||||||
#
|
#
|
||||||
# When adding more tests, bear in mind that any game that continues after a
|
# When adding more tests, bear in mind that any game that continues after a
|
||||||
|
|
|
@ -99,7 +99,7 @@ def obj_coverage(objects, text, report):
|
||||||
|
|
||||||
def loc_coverage(locations, text, report):
|
def loc_coverage(locations, text, report):
|
||||||
# locations have a long and a short description, that each have to
|
# locations have a long and a short description, that each have to
|
||||||
# be checked seperately
|
# be checked separately
|
||||||
for name, loc in locations:
|
for name, loc in locations:
|
||||||
desc = loc["description"]
|
desc = loc["description"]
|
||||||
if name not in report["messages"]:
|
if name not in report["messages"]:
|
||||||
|
@ -173,7 +173,7 @@ def actions_coverage(items, text, report):
|
||||||
report["covered"] += 1
|
report["covered"] += 1
|
||||||
|
|
||||||
def coverage_report(db, check_file_contents):
|
def coverage_report(db, check_file_contents):
|
||||||
# Create report for each catagory, including total items, number of items
|
# Create report for each category, including total items, number of items
|
||||||
# covered, and a list of the covered messages
|
# covered, and a list of the covered messages
|
||||||
report = {}
|
report = {}
|
||||||
for name in db.keys():
|
for name in db.keys():
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
## Test interpersing commands amidst magic words
|
## Test interspersing commands amidst magic words
|
||||||
# Check for "Nothing happens." in game output indicatung sequence interrupt.
|
# Check for "Nothing happens." in game output indicating sequence interrupt.
|
||||||
no
|
no
|
||||||
seed 1318612053
|
seed 1318612053
|
||||||
e
|
e
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
## Death by pitfall
|
## Death by pitfall
|
||||||
# Die 3 times so we can cover all the opituary messages
|
# Die 3 times so we can cover all the obituary messages
|
||||||
n
|
n
|
||||||
seed 780351908
|
seed 780351908
|
||||||
enter building
|
enter building
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
## Save right after starting
|
## Save right after starting
|
||||||
#NOCOMPARE Can't compare to asvent430 due to version skew
|
#NOCOMPARE Can't compare to advent430 due to version skew
|
||||||
n
|
n
|
||||||
seed 1240742801
|
seed 1240742801
|
||||||
save
|
save
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
## Resume and then quit
|
## Resume and then quit
|
||||||
#NOCOMPARE Can't compate to asvent430 due to version skew
|
#NOCOMPARE Can't compare to advent430 due to version skew
|
||||||
n
|
n
|
||||||
in
|
in
|
||||||
resume
|
resume
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
## Resume from artificial "corrupted" save
|
## Resume from artificial "corrupted" save
|
||||||
#NOCOMPARE Can't compare to asvent430 due to version skew
|
#NOCOMPARE Can't compare to advent430 due to version skew
|
||||||
n
|
n
|
||||||
resume
|
resume
|
||||||
cheat_savetamper.adv
|
cheat_savetamper.adv
|
||||||
|
|
|
@ -36,7 +36,7 @@ take bird
|
||||||
get rod
|
get rod
|
||||||
wave rod
|
wave rod
|
||||||
attack bird
|
attack bird
|
||||||
# Also, test grare as a motion verb.
|
# Also, test grate as a motion verb.
|
||||||
grate
|
grate
|
||||||
up
|
up
|
||||||
n
|
n
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue