lethosor
29a396ba54
Merge branch 'develop' into myk_move_main
2021-03-23 22:17:36 -04:00
lethosor
9a29e5f1ce
Make "test file failed to load" errors more obvious, and make run-tests.py fail
...
These errors could previously go undetected, since they were easy to miss at the
end of the output and did not cause run-tests.py to fail.
This change adds a `*` pseudo-entry to test_status.json, which is set to
"failed" if any tests failed *or* failed to load. This avoids the need to change
run-tests.py, which is cached on Buildmaster.
See #1815
2021-03-23 22:11:48 -04:00
lethosor
10a7455e85
Update scripts
2021-03-23 21:28:14 -04:00
lethosor
e9efa6c961
Update xml, fix + improve robustness of unions.lua unit tests
...
- unit_action_fields(): handled primitive union members correctly
- unit_action_type(): added messages to make failures easier to diagnose
- Also removed redundant checks that effectively checked that
`enum.attrs[k] == enum.attrs[v]` - this is out of scope of union tests
2021-03-23 21:24:57 -04:00
lethosor
3e67b8f00f
Merge remote-tracking branch 'myk002/myk_always_run_tests_by_default' into develop
2021-03-23 21:09:57 -04:00
myk002
a9192ebe12
update docs with new script path
2021-03-22 11:09:44 -07:00
myk002
222feff342
expand docs for open and close functions
2021-03-22 10:44:32 -07:00
myk002
4ef0ff2a24
fix formatting errors
2021-03-22 10:40:29 -07:00
myk002
e157c20fc2
use new test harness script path
2021-03-22 10:23:31 -07:00
myk002
5f00183177
move test harness out of test dir
...
and install to test.lua in top-level scripts directory instead of test/main.lua
2021-03-22 10:15:32 -07:00
myk002
3e5a2c8d7c
rerun all tests by default
...
introduce and use --resume option for ci
2021-03-22 10:06:03 -07:00
myk002
aac958aa50
add open() wrapper fn and document class methods
2021-03-22 09:38:20 -07:00
DFHack-Urist via GitHub Actions
d5d41cd374
Auto-update submodules
...
library/xml: master
2021-03-22 07:20:39 +00:00
lethosor
59b023c71d
Ensure that command-prompt is dismissed after a command creates a new screen
...
Fixes #1803
Running a command that created a new screen would previously result in a screen
order that looked like this, due to how `Screen::Hide` works:
- DF screen
- `command-prompt` screen (dismissed)
- New screen
The `command-prompt` screen remained on the stack until the new screen was
dismissed, so it would intercept viewscreen vmethod calls intended for the
DF screen.
This change adds a new behavior to `Screen::Hide` that results in this screen
order after running a command:
- DF screen
- New screen
- `command-prompt` screen (dismissed) - DF removes this screen immediately
2021-03-21 20:42:50 -04:00
lethosor
e7cf5e2079
Update scripts
2021-03-21 00:13:01 -04:00
lethosor
fcb17da223
Update authors ( #1801 ), xml
2021-03-20 19:21:39 -04:00
lethosor
3926482047
Merge remote-tracking branch 'gaberau/patch-1' into develop
2021-03-20 19:15:25 -04:00
Gabe Rau
81b6d93701
Minor grammer fixes.
2021-03-20 15:51:35 -06:00
Gabe Rau
cc376eeb55
Fixed a number of spelling and grammatical errors. Should be set now. Added better examples and removed redundant words.
2021-03-20 15:49:53 -06:00
lethosor
120a359d6f
Fix typo
2021-03-20 13:29:30 -04:00
lethosor
4c27c558db
Merge remote-tracking branch 'myk002/myk_interactive_test' into develop
2021-03-20 13:29:05 -04:00
Gabe Rau
374fc763eb
Fixed whitespace issues that cause a failed build on lint.
2021-03-20 01:55:45 -06:00
Gabe Rau
e6639180db
Fixed merge conflicts, expanded upon provided examples, added more detail.
2021-03-20 01:47:36 -06:00
Gabe Rau
5aa3c6bfc6
Revised Lua API.rst to better explain command. Added proper examples and explantion of difference between run_command and run_script.
2021-03-19 21:58:24 -06:00
Gabe Rau
a77353b2e6
Update Lua API.rst
...
Corrected the dfhack.run_script documentation and added an example.
2021-03-17 23:17:01 -06:00
lethosor
89e11b56f2
Merge remote-tracking branch 'myk002/myk_no_test_scripts' into develop
2021-03-14 14:42:51 -04:00
lethosor
e8f8471af4
Update xml
...
Ref DFHack/df-structures#423
2021-03-12 00:26:02 -05:00
myk002
8fe3dac0b1
only enable luacov for the core context
2021-03-10 23:31:30 -08:00
lethosor
1f9e875bcd
Update stonesense, scripts
2021-03-11 00:00:49 -05:00
Ben Lubar
67ed9e135f
update stonesense ref
2021-03-10 15:45:36 -06:00
Ben Lubar
f566284b80
update stonesense ref
2021-03-10 15:31:50 -06:00
Ben Lubar
1554d06831
update stonesense submodule
2021-03-10 15:14:12 -06:00
DFHack-Urist via GitHub Actions
45823c2745
Auto-update submodules
...
scripts: master
plugins/stonesense: master
2021-03-10 07:15:44 +00:00
lethosor
ab2c51d19c
Remove changelog entry from #1792
...
Only applied to files in scripts/test, which didn't exist in previous versions
2021-03-10 00:45:58 -05:00
lethosor
890fd5c746
Merge remote-tracking branch 'myk002/myk_no_test_docstrings' into develop
2021-03-10 00:44:23 -05:00
lethosor
5c67f61eee
Merge branch 'develop' of gh:DFHack/dfhack into develop
2021-03-10 00:31:17 -05:00
lethosor
795bd27d92
Add checks for scripts and luacov submodules
2021-03-10 00:21:46 -05:00
lethosor
fba54301b2
Merge remote-tracking branch 'myk002/myk_luacov_depends' into develop
2021-03-10 00:20:41 -05:00
DFHack-Urist via GitHub Actions
7ea44010e0
Auto-update submodules
...
library/xml: master
2021-03-09 07:15:44 +00:00
myk002
f3bef8c34e
update changelog
2021-03-08 15:06:27 -08:00
myk002
69a2f44020
Lua class wrappers for the xlsxreader plugin API
2021-03-08 15:04:50 -08:00
DFHack-Urist via GitHub Actions
7688029018
Auto-update submodules
...
scripts: master
2021-03-08 07:15:39 +00:00
Ben Lubar
4aaa54c056
dwarfvet: remove console spam when plugin is enabled but no hospitals exist
2021-03-07 14:59:41 -06:00
myk002
403ba2b8ea
work when there is no done_command
2021-03-07 12:06:48 -08:00
myk002
81e62b8cfc
update changelog
2021-03-07 08:53:42 -08:00
myk002
916a10d717
exempt lua test files from docstring requirements
...
and don't display them with 'ls'
2021-03-07 08:52:45 -08:00
myk002
ed21ed8593
update changelog
2021-03-07 08:51:33 -08:00
myk002
98b67e170d
allow done_command to be set in test_config.json
2021-03-07 08:51:02 -08:00
myk002
dc5fe71caf
add more help and improve compatibility
...
- explain modes, done command, and test_config.json file format
- also be more flexible with how the done command is formatted (can now be
passed as either separate tokens or as a single quoted string)
- print the filter values when filtering tests
2021-03-07 08:24:18 -08:00
myk002
409bfea63e
update run-tests.py with new done_command syntax
2021-03-07 08:24:18 -08:00