1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00
Commit graph

87 commits

Author SHA1 Message Date
uramer
30e6821d81 Fix missing y 2024-12-03 06:18:00 +00:00
uramer
19014c9c47 Add end-to-end morrowind test work directory to gitignore 2024-12-02 21:23:52 +01:00
uramer
1675c74036 Fix findPath returning a raw vector 2024-12-02 21:22:29 +01:00
elsid
22817dd6a1
Use normalized path for correctMeshPath 2024-11-16 12:49:11 +01:00
elsid
5b2764e75a
Add Lua test for record model property 2024-11-15 01:54:55 +01:00
Calandiel Elende
9248e37156 add OFFENSE_TYPE and commitCrime to lua 2024-10-20 09:37:27 +00:00
Evil Eye
1ac0f27bbd Add integration tests for the openmw.vfs package 2024-09-14 10:10:01 +02:00
elsid
7998689080
Add test for player's attack 2024-08-27 20:09:19 +02:00
elsid
5f26da01f1
Use the_hub addon from example suite by the integration tests 2024-08-26 21:19:04 +02:00
elsid
eb6dc6e6b0
Keep generated files on integration tests failure 2024-08-26 21:19:03 +02:00
elsid
9006a8fad0
Use landracer addon from example suite by the integration tests 2024-08-26 21:19:03 +02:00
elsid
fa1e574097
Use existing path variables in the generated config 2024-08-26 21:19:03 +02:00
elsid
64ebe08a78
Increase Lua memory limit for integration tests
To avoid failures like https://gitlab.com/OpenMW/openmw/-/jobs/7534143520.
2024-08-08 22:34:52 +02:00
elsid
0c0d544e38
Add test to check Lua memory limit 2024-08-03 13:28:35 +02:00
elsid
397518e3e7
Remove redundant line 2024-07-31 23:19:11 +02:00
elsid
a416125cdf
Format Lua code 2024-07-31 23:19:11 +02:00
elsid
f5b24efdca
Enable built-in script in the integration tests 2024-07-31 23:19:10 +02:00
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
2024-07-22 13:16:06 +00:00
Sam Hellawell
96db8e94bd Fix forgot game section for test settings 2024-07-20 22:56:55 +01:00
Sam Hellawell
b9a7bdc0c7 Dont use NormalizedView for yamlpath, use changeExtension, add setting to tests script 2024-07-20 20:15:17 +01:00
elsid
323a8355d5
Add test to make sure player rotation does not lead to nan 2024-07-17 23:36:51 +02:00
elsid
73c347f732
Format Lua tests code 2024-07-13 00:25:00 +02:00
elsid
1dd15613dd
Split UTF-8 tests on chars and strings cases 2024-07-13 00:25:00 +02:00
psi29a
664a844853 Merge branch 'fix_get_angles_zyx' into 'master'
Fix getAnglesZYX (#7741)

Closes #7741

See merge request OpenMW/openmw!4199
2024-07-11 09:04:07 +00:00
elsid
40dee30596
Add more integration tests for rotation
Some tests might fail due to wrong implementation of the functions.
2024-06-23 16:08:05 +02:00
Evil Eye
a594f0dd25 Split tests further 2024-06-18 22:19:24 +02:00
Evil Eye
8111387f60 Test modification and add split tests 2024-06-18 17:55:01 +02:00
Evil Eye
0f20e47e0e Add unit tests 2024-06-18 17:43:48 +02:00
Kindi
d21f3809bd test utf8 2024-06-10 18:15:07 +08:00
Evil Eye
c3d02c0b41 Merge branch 'cleanup_dialogue_api' into 'master'
Cleanup dialogue API

See merge request OpenMW/openmw!4088
2024-05-17 15:02:00 +00:00
Zackhasacat
c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 2024-05-13 14:14:44 +00:00
elsid
0233640124
Add simple tests for dialogues 2024-05-10 10:38:15 +02:00
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.
2024-04-21 23:48:20 +02:00
Zackhasacat
6d529835ae Lua: Standardize record stores 2024-03-25 13:46:23 +00:00
Alexei Kotov
38eb741bfd Merge branch 'fix_global_iteration' into 'master'
Lua: Fix Global Variable Iteration

See merge request OpenMW/openmw!3835
2024-03-24 09:44:15 +00:00
Zackhasacat
c5c80936a0 Space after , 2024-03-23 13:27:53 -05:00
Zackhasacat
7d1f52451f Re-add new line 2024-03-22 19:14:28 -05:00
Zackhasacat
b51891cbcd Add lua global var test back 2024-03-22 19:13:39 -05:00
Zackhasacat
b8c8e30431 Revert "Add iteration global tests"
This reverts commit 4634c7dba9.
2024-03-22 19:06:00 -05:00
Zackhasacat
4634c7dba9 Add iteration global tests 2024-03-22 18:56:15 -05:00
elsid
6b860caa3e
Fix spelling 2024-03-18 01:37:42 +01:00
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]
2024-03-18 01:37:42 +01:00
elsid
2b53c2335f
Support printing stats table in json format 2024-03-15 21:26:03 +01:00
elsid
6b07718871
Add morrowind test for moving object into container 2024-02-25 15:20:29 +01:00
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
2023-12-27 20:25:38 +00:00
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
2023-12-25 11:15:41 +01:00
elsid
e5af4322c7
Add flag to print all openmw output in integration tests 2023-12-25 10:52:01 +01:00
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.
2023-12-24 22:58:37 +01:00
elsid
c6b7dfc23a
Convert to float to compute stdev 2023-12-24 22:55:11 +01:00
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.
2023-12-24 22:15:10 +01:00