Commit Graph

10117 Commits (fd7c3fc4aae75338ab03d41dab286fb8819e0206)
 

Author SHA1 Message Date
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
Ben Lubar 5eb0703433
ghidra: improve support for class types 2020-03-20 08:40:00 -05:00
lethosor 8df33a7859 Merge branch 'develop' of gh:DFHack/dfhack into develop 2020-03-20 02:03:51 -04:00
lethosor 326dcc8b0f Update scripts, authors 2020-03-20 02:03:31 -04:00
lethosor 58c9fc9bb2 Mention creature/caste flag name changes in changelog
See dfhack/scripts#113
2020-03-20 01:03:28 -04:00
Ben Lubar d741456a58
ghidra: fix vmethods not being explicitly thiscall.
ghidra: fix vmethods that returned void returning undefined.

ghidra: fix method used to get Win32 binary timestamps.
2020-03-16 19:18:22 -05:00
Ben Lubar 137d173d67
ghidra: add support for osx and windows 2020-03-16 17:50:27 -05:00
Ben Lubar ee0cb94312
ghidra: add special case for vector<bool> that is not a bit vector 2020-03-16 15:10:16 -05:00
Ben Lubar 71c17a14ff
ghidra: fix vtables not being pointers 2020-03-16 14:32:25 -05:00
Ben Lubar 19d62d9a2b
fix string data type definition in Ghidra script 2020-03-16 14:18:43 -05:00