Commit Graph

13531 Commits (1c6076fa9443f680ac9246cd20567ee65457b400)
 

Author SHA1 Message Date
lethosor 06201a4c6a Bail out if MALLOC_PERTURB_ is unset to avoid unexpected behavior 2020-04-02 01:48:21 -04:00
lethosor 1024f39a26 Update submodules 2020-04-02 01:47:53 -04:00
ymber 897e78b174
Activate autodump in default config 2020-04-01 15:09:51 +01:00
PatrikLundell 63a26b987d Fix issue #1528 2020-04-01 11:16:24 +02:00
lethosor 5598b332f2 Reorganize structures tests and add basic unit_action-related tests 2020-04-01 02:30:55 -04:00
lethosor ba72497963 Add some rudimentary test selection support 2020-04-01 02:15:27 -04:00
lethosor fa1da3d9de Merge branch 'develop' of gh:DFHack/dfhack into develop 2020-04-01 00:26:59 -04:00
lethosor 91fad90167 Make test base folder customizable, clean up, stop always installing test folder 2020-04-01 00:26:51 -04:00
lethosor 4844ff5071 Update submodules 2020-04-01 00:25:12 -04:00
Ben Lubar 6c09633e40
update structures and scripts 2020-03-31 19:59:19 -05:00
Ben Lubar ffe73028f9
update structures 2020-03-30 10:36:45 -05:00
lethosor 6c00ace68b Merge branch 'develop' of gh:DFHack/dfhack into develop 2020-03-30 03:03:00 -04:00
lethosor 9b1dddc336 Update xml, scripts, change unit_action.data field names back
Fixes #1520
Makes part of dfhack/scripts#130 unnecessary
2020-03-30 03:00:41 -04:00
Ben Lubar 52cf892383
update structures and scripts 2020-03-29 14:08:30 -05:00
lethosor ef51996a2c Log error when DF exits non-successfully 2020-03-28 13:19:38 -04:00
lethosor 1c39ed1428 Switch tests to headless mode if no TTY detected 2020-03-28 13:18:31 -04:00
lethosor 6eb73d9046 Fall back to stdout if tty fails to open
May help with #1477
2020-03-28 13:14:03 -04:00
lethosor b6e0d3f73d Update xml 2020-03-28 01:36:41 -04:00
lethosor 4fde096009 Add expect.* functions for other binary comparisons 2020-03-27 02:01:03 -04:00
lethosor bb02c9f639 Add a couple basic gui tests 2020-03-27 01:38:40 -04:00
lethosor 500426ea25 Make Python test runner actually fail if a test fails 2020-03-27 00:52:28 -04:00
lethosor e6c9db0a18 Clean up test skipping logic 2020-03-27 00:49:34 -04:00
lethosor 82aa467c66 Update scripts (create-unit) 2020-03-27 00:35:16 -04:00
lethosor a312336f86 Add (placeholder) support for specifying which game mode tests should run in 2020-03-27 00:34:44 -04:00
lethosor c6d2407f2c Ensure that Lua test runner always exits 2020-03-26 23:33:39 -04:00
lethosor 2e352408c2 Split up test runner funcs 2020-03-26 23:26:43 -04:00
lethosor f784fdc8b7 Add flag to keep DF open after tests 2020-03-26 23:07:45 -04:00
lethosor 9c5e5de999 Disable stty in launchers if stdin is not a terminal 2020-03-26 22:58:43 -04:00
Ben Lubar 90e0c29a5c
implement posix_memalign on Windows for sizecheck 2020-03-26 17:46:00 -05:00
Ben Lubar 63f774dfef
reversing scripts moved to df_misc 2020-03-26 13:38:37 -05:00
lethosor 78c24adffb Fix argument parsing 2020-03-25 02:22:08 -04:00
lethosor ea3be02c63 Overhaul lua testing script
- Now keeps track of the state of each test individually
- Only runs uncompleted tests if DF crashes/restarts
- DF now exits with 0
- Easier to run locally
- Hopefully works on Travis too!
2020-03-25 01:45:17 -04:00
lethosor 90d1f26504 Update exportlegends 2020-03-25 00:31:05 -04:00
lethosor 67908e0f53 Console-posix: Reset color on shutdown
Ensures that dfhack-run doesn't leave behind a colorful prompt
2020-03-25 00:30:12 -04:00
lethosor 65a7db44be Update xml, scripts 2020-03-24 01:28:02 -04:00
lethosor 24ceff8f7d Update xml, scripts 2020-03-23 00:49:57 -04:00
lethosor f9c50a1f0e Add test to make sure viewscreen destructors work 2020-03-23 00:49:08 -04:00
lethosor 49fcb29097 Update xml, scripts 2020-03-22 17:24:39 -04:00
Ben Lubar b67de60a9b
update structures 2020-03-22 12:36:19 -05:00
Ben Lubar 0b69f98561
update structures 2020-03-22 12:22:43 -05:00
Ben Lubar d7288eb288
ghidra: add explicit "this" argument to vmethods 2020-03-22 09:32:39 -05:00
Ben Lubar 4e4496a7a1
ghidra: fix implicit static array lengths assuming enum values are explicitly specified 2020-03-21 19:57:42 -05:00
Ben Lubar 97916fd55e
implement tagged union structures attributes 2020-03-21 14:29:14 -05:00
Ben Lubar b29d009b14
update structures; implement struct_field_info_extra 2020-03-21 13:21:35 -05:00
Ben Lubar 9852d92a98
ghidra: actually define stl set types 2020-03-21 10:18:46 -05:00
Ben Lubar 5b8952baf8
ghidra: handle destructor ABI differences 2020-03-21 08:53:11 -05:00
Ben Lubar b2940b69f8
update structures 2020-03-21 07:49:22 -05:00
Ben Lubar 60892cade2
ghidra: add type name to anonymous fields/vmethods
ghidra: fix static array sizing when determined by index-enum
2020-03-21 07:46:03 -05:00
lethosor 666b35f1f6 Add "bit" suffix to package architecture (hopefully reduces confusion) 2020-03-21 02:42:12 -04:00
lethosor 7d6594bfe8 Add BUILD_TESTS CMake option 2020-03-21 02:39:00 -04:00