Unity.Mathematics.Tests relied on test-framework.performance 1.x which allowed .Definition to be used to change the unit measurements were shown in. That API however is not supported in test-framework.performance as for their 2.0 line. Since math and entities are iterated on in the same repository, any project with math tests and entities will result in test-framework.performance being auto-upgraded to the 2.x line since Unity.Entities has a dependency on test-framework.performance 2.3.
This change:
Improves the comment at the top of generated files to help direct maintainers on how to regenerate the files and removes the .Definition usage to allow for compatibility.
~Declares the dependency of test-framework.performance as the com.unity.mathermatics tests we previously hoping some other package would pull in the package for the tests to be runnable~
Upgrades the performance tests to test-framework.performance 2.8 which allows again to specify the unit of measurement for tests (2.0-2.7 had removed this feature)
Since this change has many generated files the main changes are in:
Unity.Mathematics.Tests
relied ontest-framework.performance
1.x which allowed.Definition
to be used to change the unit measurements were shown in. That API however is not supported intest-framework.performance
as for their 2.0 line. Since math and entities are iterated on in the same repository, any project with math tests and entities will result intest-framework.performance
being auto-upgraded to the 2.x line since Unity.Entities has a dependency ontest-framework.performance
2.3.This change:
.Definition
usage to allow for compatibility.Since this change has many generated files the main changes are in: