Commit Graph

82 Commits (5d37cb3b74b1e47fef78fdabaedb791091018dc6)

Author SHA1 Message Date
Calandiel Elende 9248e37156 add OFFENSE_TYPE and commitCrime to lua 2 months ago
Evil Eye 1ac0f27bbd Add integration tests for the openmw.vfs package 4 months ago
elsid 7998689080
Add test for player's attack 4 months ago
elsid 5f26da01f1
Use the_hub addon from example suite by the integration tests 4 months ago
elsid eb6dc6e6b0
Keep generated files on integration tests failure 4 months ago
elsid 9006a8fad0
Use landracer addon from example suite by the integration tests 4 months ago
elsid fa1e574097
Use existing path variables in the generated config 4 months ago
elsid 64ebe08a78
Increase Lua memory limit for integration tests
To avoid failures like https://gitlab.com/OpenMW/openmw/-/jobs/7534143520.
5 months ago
elsid 0c0d544e38
Add test to check Lua memory limit 5 months ago
elsid 397518e3e7
Remove redundant line 5 months ago
elsid a416125cdf
Format Lua code 5 months ago
elsid f5b24efdca
Enable built-in script in the integration tests 5 months ago
Alexei Kotov 1f4ab3b668 Merge branch 'animationblending' into 'master'
Animation blending implementation. Flexible and moddable through .yaml blending config files.

See merge request OpenMW/openmw!3497
5 months ago
Sam Hellawell 96db8e94bd Fix forgot game section for test settings 5 months ago
Sam Hellawell b9a7bdc0c7 Dont use NormalizedView for yamlpath, use changeExtension, add setting to tests script 5 months ago
elsid 323a8355d5
Add test to make sure player rotation does not lead to nan 5 months ago
elsid 73c347f732
Format Lua tests code 6 months ago
elsid 1dd15613dd
Split UTF-8 tests on chars and strings cases 6 months ago
psi29a 664a844853 Merge branch 'fix_get_angles_zyx' into 'master'
Fix getAnglesZYX (#7741)

Closes #7741

See merge request OpenMW/openmw!4199
6 months ago
elsid 40dee30596
Add more integration tests for rotation
Some tests might fail due to wrong implementation of the functions.
6 months ago
Evil Eye a594f0dd25 Split tests further 6 months ago
Evil Eye 8111387f60 Test modification and add split tests 6 months ago
Evil Eye 0f20e47e0e Add unit tests 6 months ago
Kindi d21f3809bd test utf8 7 months ago
Evil Eye c3d02c0b41 Merge branch 'cleanup_dialogue_api' into 'master'
Cleanup dialogue API

See merge request OpenMW/openmw!4088
8 months ago
Zackhasacat c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 8 months ago
elsid 0233640124
Add simple tests for dialogues 8 months ago
elsid 9d04c1b2b8
Consider absent value in a frame as none
There are frames with missing values because of loading screens. They should not
be replaced with zeroes or other values. Otherwise showed graphs and calculated
statistics are wrong.
8 months ago
Zackhasacat 6d529835ae Lua: Standardize record stores 9 months ago
Alexei Kotov 38eb741bfd Merge branch 'fix_global_iteration' into 'master'
Lua: Fix Global Variable Iteration

See merge request OpenMW/openmw!3835
9 months ago
Zackhasacat c5c80936a0 Space after , 9 months ago
Zackhasacat 7d1f52451f Re-add new line 9 months ago
Zackhasacat b51891cbcd Add lua global var test back 9 months ago
Zackhasacat b8c8e30431 Revert "Add iteration global tests"
This reverts commit 4634c7dba9.
9 months ago
Zackhasacat 4634c7dba9 Add iteration global tests 9 months ago
elsid 6b860caa3e
Fix spelling 10 months ago
elsid 080245aa26
Do not align arrays by duplicating last value
To produce the same stats for single and multiple sources.

If there are multiple sources with different number of frames, leave the number
of values per each metric as is. For example:

source 1: [1, None, 2]
source 2: [3, None, 4, 5]

before this change becomes:

source 1: [1, 1, 2, 2]
source 2: [3, 3, 4, 5]

and after this change:

source 1: [1, 1, 2]
source 2: [3, 3, 4, 5]
10 months ago
elsid 2b53c2335f
Support printing stats table in json format 10 months ago
elsid 6b07718871
Add morrowind test for moving object into container 10 months ago
Alexei Kotov 0b5823d5b7 Merge branch 'osg_stats_timeseries_delta' into 'master'
Add timeseries delta graph to osg_stats.py

See merge request OpenMW/openmw!3685
1 year ago
elsid 8fe0832b38
Replace check for normalized distance =~ value by distance > 0
We just need to make sure player moved, for how long is not important.

To avoid failures like: https://gitlab.com/OpenMW/openmw/-/jobs/5815281969:

TEST playerForwardRunning		FAILED [string "test.lua"]:80: [string "player.lua"]:44: Normalized forward runned distance: 0.782032 ~= 1.000000
1 year ago
elsid e5af4322c7
Add flag to print all openmw output in integration tests 1 year ago
elsid 60940e7561
Fill absent values with previous present
Due to OSG stats reporting usage and implementation for some attributes values
are missing on loading screens.
1 year ago
elsid c6b7dfc23a
Convert to float to compute stdev 1 year ago
elsid 03a7643301
Add option to show timeseries delta graph to osg_stats.py
To see spikes in a single frame and correlate them with frame duration.
1 year ago
elsid 94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh 1 year ago
Petr Mikheev 15306c7d49 [Lua] Add CONTROL_SWITCH functions to `types.Player` and deprecate them in `openmw.input` 1 year ago
elsid 9019a815eb
Add option to sort stats fields 1 year ago
elsid faded22e41
Hide common path prefix by default 1 year ago
elsid e00eb50587
Remove stepping from findSmoothPath
This is not used anyway. There are features like smooth movement which remove
all redundant points.

Use single findStraightPath call instead of multiple.
1 year ago