summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
Commit message (Collapse)AuthorAgeFilesLines
* Remove the show_gold_turns option.Shmuale Mark2014-07-027-7/+0
| | | | | | There's really no reason not to show the line; in other options, having the default always be the case can be annoying, but if you don't want to look at the gold/turns display, you can just not.
* Remove jewelry and armour sources of conservationgammafunk2014-05-282-2/+2
| | | | | | The amulet of conservation and cloaks of preservation are no longer necessary without item destruction. Maxwell's patent armour now has the resistance ego and grants rF+ and rC+.
* Remove rock worms.Adam Borowski2013-11-291-1/+1
|
* Adjust the test suite.Adam Borowski2013-11-127-10/+19
|
* Use --gdb for automated runs of the abyss bot.Adam Borowski2013-11-061-1/+1
| | | | | | Unlike being run by hand during actual debugging, during stress testing you almost always want to get the backtrace. This also helps solving recent crop of mysterious pthread_join segfaults.
* Abyss bot: don't override the monster set.Adam Borowski2013-11-031-10/+0
|
* Drop a token file into test/big/Adam Borowski2013-10-281-0/+1
| | | | git would remove the directory otherwise.
* Vastly shorten test/big/abyss_shift.lua, enable it by default.Adam Borowski2013-10-281-1/+1
| | | | Although, it doesn't do anything stress tests wouldn't catch.
* A couple more test cases.Adam Borowski2013-10-281-0/+2
|
* Move maps used by the test suite to dat/des/testAdam Borowski2013-10-178-545/+0
| | | | | | | This means there's no dynamic loading of maps anymore. Also, delete unused regression tests for the long gone old LOS code. We had copies of both the old and current version.
* Override monster spawns in the abyss bot.Adam Borowski2013-10-071-0/+10
| | | | | | | | | The setting is applied only on reload, every 1000 time turns. This means that after a newarea shift you'll get only ordinary abyssal monsters, but that's good enough. Why Forest and newCrypt got such a huge weight is left as an exercise to the reader.
* Some documentation for the abyss bot.Adam Borowski2013-09-231-0/+17
|
* Save the Abyss bot at 1000 time boundaries, rather than after 1000 turns.Adam Borowski2013-08-301-2/+2
| | | | Easier to predict when the time chunk will end.
* Allow the bot to disable checkpoint saves on newarea shifts.Adam Borowski2013-08-271-0/+2
| | | | | | | | | Restarting from such a save would reset the random seed, while the first run had a random generator hold a different state. This doesn't handle real level transition (ie, the initial banishment and being thrown deeper into the Abyss). That's doable if we would inhibit the commit somehow, but for now, I don't care much about those 5000 turns.
* Save the Abyss bot every 1000 turns. Use a per-game --seed.Adam Borowski2013-08-272-3/+31
| | | | | Because, you know, being able to reproduce crashes without having to run a random bot for days, might be of some use.
* Give the abyss bot a ring of sustain ability.Adam Borowski2013-08-271-1/+2
| | | | | | After stat death has been removed, it stays all the time with negative stats, even with living races. There's just that much stat drain in the newabyss, especially int.
* Fix reversed logic in a test.Adam Borowski2013-07-311-1/+1
|
* Fix typo breaking a LOS testChris Oelmueller2013-07-231-1/+1
|
* Abyss bot: disable hunger and malmutate by default.Adam Borowski2013-06-091-0/+2
| | | | | There's nothing interesting that bad mutations bring to the testing, and there's Xom already.
* Set the Abyss bot's stats to 72 72 72.Adam Borowski2013-05-241-1/+1
| | | | | | | It spends most of the time in stat death otherwise, with all the stat drain abundant in the Abyss. This means monsters get to move when we should use the CPU more for exploring the Abyss (I don't disable monsters here to get a better test coverage).
* Don't let the Abyss stress fly.Adam Borowski2013-05-241-2/+1
| | | | | Newnewabyss has hardly any liquids, and it doesn't let us check fpr falling into water.
* Rename and document short Abyssal tests, to tell them from the main one.Adam Borowski2013-05-243-7/+7
|
* Allow running test/stress/timeall on an arbitrary set of tests.Adam Borowski2013-03-271-1/+1
|
* Shorten the Abyss rest canned test.Adam Borowski2013-03-261-1/+1
| | | | | No point in stretching it, it should be enough for benchmarks, valgrind or profiling, and you need an extended run to catch any randomness anyway.
* Two canned tests in the Abyss.Adam Borowski2013-03-244-2/+125
| | | | | | | | | | One includes holding '5' with monster spawns disabled; useful for benchmarking Abyss morphs with no shifts other than timed ones. The second one is the Abyss bot, limited to 1000 turns. It's about twice as slow as the former, testing monster spawns as well, combat, scrolling shifts. Unlike the bot, it doesn't use Xom, as that costs yet another ~20% speed (we probably should optimize tension, too!).
* Fix the version number in test/stress/timeall not going to the STDERR.Adam Borowski2013-03-161-1/+1
|
* Print timing output for test/stress/timeall to STDERR rather than STDOUT.Adam Borowski2013-03-111-2/+2
| | | | | This allows redirecting the results. Usually you'll want to put STDOUT to /dev/null, too (perhaps we should to that always?).
* Ensure the database is up to date before running canned benchmarks.Adam Borowski2013-03-041-0/+6
| | | | | | | | | | Otherwise, it'd unfairly charge the first run the cost of rebuilding. We take the median of five so it wasn't that bad, though. Also, load the db (including parts which were already ready) into the system's page cache, and flush outstanding writes. We take user time rather than wall clock so it shouldn't matter, but that's theory not practice, especially on Intel CPUs.
* Relax test/shoal-hut.lua: huts don't necessarily have doors anymore.Samuel Bronson2013-02-251-1/+4
| | | | TODO: check connectivity of huts that lack doors.
* Reduce message spam & improve progress messages in test/uniquegen.lua.Samuel Bronson2013-02-251-1/+5
| | | | This seems to make it run a good deal faster.
* Get rid of a lot of references to secret doors.Adam Borowski2013-01-061-2/+2
|
* Let the Abyss stress test bot cast any spell in an uppercase slot.Adam Borowski2012-11-181-5/+13
| | | | If there are multiple, choose one randomly.
* Abyss stress bot: cast a spell assigned to 'T' every 50 turns.Adam Borowski2012-11-111-3/+12
|
* Rename boots of flight to boots of flying.Adam Borowski2012-11-091-1/+1
| | | | | | | Sounds better, and is more consistent with boots of running. Also, the distinction between "potion of flight" vs "boots of flying" conveys the difference: a short-timed action vs a continuous effect.
* Convert a number of stray references to levitation.Adam Borowski2012-11-081-2/+2
| | | | | | One in particular may need further purging: there's logic in greedy_explore to skip picking up items if the player is unable to. That's never the case anymore...
* Make the abyss stress test bot use a more Xomly god.Adam Borowski2012-10-241-3/+2
| | | | | More potential crashes to test, Lugonu does nothing interesting when you don't use her abilities.
* Abyss stress test: don't run around with an unworn cloak.Adam Borowski2012-10-051-1/+1
| | | | Not that it makes any difference...
* A test for abyssal shifts.Adam Borowski2012-09-221-0/+8
|
* Reduce iterations in the krakens arena test.Adam Borowski2012-09-211-1/+1
| | | | | | | Unlike, say, miscasts, there is little randomness there: a kraken dies either to a blow to its head, tentacle, or tentacle fragment, multipled by bleeding/not bleeding, or the living or spectral one. No need to waste much CPU repeating it over and over.
* Use symbolic names, not numbers, for tests.Adam Borowski2012-09-181-1/+1
| | | | Also, announce when they are finished.
* Steal the target "make test", make it ./crawl --test and do canned ones.Adam Borowski2012-09-171-0/+3
|
* Disable a known failure of a test in --test.Adam Borowski2012-09-171-0/+0
| | | | | | | | | It has been broken for more than two years, and never worked right in the first place (ie, a bug, not a regression). It would be good to fix it, but there's plenty of far worse bugs rotting on Mantis. I'm disabling this one so it's possible to do automated regression tests from a cron job.
* A canned test for notoriously prone to breakage tentacle death.Adam Borowski2012-09-091-1/+4
| | | | | | A yet another crasher has just been cherry-picked to 0.11 without anyone noticing. (This is just a test case, not a fix.)
* Destalkerify canned tests.Adam Borowski2012-08-274-4/+4
| | | | Let's hope no one removes artificers soon...
* Update the abyss stress test: --no-save, loading of autofight.Adam Borowski2012-07-181-3/+1
|
* Repair the fireworks stress test.Adam Borowski2012-07-101-2/+2
|
* An undocumented command-line option, --no-save.Adam Borowski2012-07-101-1/+1
| | | | | | | | It uses a temporary file for the save file. This fixes canned tests breaking if a run has been aborted (and thus a save by that name exists), and also allows concurrently running multiple instances of the same test. Implies wizmode.
* Let the Abyss stress bot have vaults.Adam Borowski2012-05-051-0/+2
| | | | | The starting AK Abyss has several special properties, including never generating any vaults as they are "scary".
* Merge branch 'master' into portal_branchesAdam Borowski2012-04-251-1/+1
|\
| * Use a space after control statements.Adam Borowski2012-04-201-1/+1
| |