Commit Graph

13276 Commits (de1a4fb5be813594b10d3bb283c2514778aa1015)
 

Author SHA1 Message Date
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
lethosor 77e40a52c0 Update scripts, xml, authors 2020-03-21 02:02:00 -04:00
lethosor d42e866a35 Merge remote-tracking branch 'PatrikLundell/embark_assistant' into develop 2020-03-20 23:22:38 -04:00
Ben Lubar 5e6cc8b335
ghidra: improve method creation 2020-03-20 12:16:31 -05:00
Ben Lubar 37e7bed779
add df.global:_field method. add test case to check for overlapping globals. 2020-03-20 09:41:58 -05:00
Ben Lubar 44b45ce43f
ghidra: fix _super being defined as a class method on subclasses 2020-03-20 08:57:30 -05:00