summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ctest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add -script option to Crawl to run a Lua script. Scripts are similar to ↵Darshan Shaligram2010-01-091-13/+44
| | | | | | tests, but can be parameterised. Add a script to generate 150 level at a named place and report on all the monsters generated there.
* Fix Shoal:$ generation bugs: stairs could be surrounded by deep water, hut ↵Darshan Shaligram2010-01-051-0/+8
| | | | | | entrances could be blocked by rock. shoal-hut.lua test generates 1k Shoal:$ levels and verifies that the levels pass sanity tests.
* ctest.cc: give msg on test being runMatthew Cline2009-11-071-0/+7
|
* Allow running tests with DEBUG_TESTSMatthew Cline2009-11-021-1/+1
| | | | | | Automatic/unit tests can now be run if you define the macro DEBUG_TESTS, rather than only having the option of having to define DEBUG_DIAGNOSTICS.
* ctest.cc: kill memory access violationSteven Noonan2009-10-241-1/+0
| | | | | | The line removed caused a crash occasionally. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Convert player::your_name to std::string.Robert Vollmert2009-10-241-2/+1
| | | | Doesn't seem to break anything...
* Set job and species in test.Robert Vollmert2009-10-221-0/+4
|
* Split dgn_lib out of luadgn.cc; rename luadgn to dlua.Robert Vollmert2009-10-191-1/+1
|
* Add test for monster placement.Darshan Shaligram2009-10-181-0/+18
| | | | | | Adds test/monplace.lua to test placing monsters using the Lua direct monster creation binding (does not exercise all the map code). Allow choosing what tests to run with "crawl -test test1,test2".
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Set up a basic testing framework for LOS. ./crawl -test with a full debug ↵Darshan Shaligram2009-09-241-0/+121
build will run the test.