You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Atom/RPI/Code/Tests/Common
galibzon 155fe77f5d
ShaderMetricsSystem spawns a lot of warnings (#5661)
* ShaderMetricsSystem spawns a lot of warnings
when run Atom_RPI.Tests

Added @user@ path alias definition.

* When running unit tests, using AZ::Utils::GetProjectPath() will resolve
to something like:
"/data/workspace/o3de/build/linux/External/Atom-9a4d112b/RPI/Code/Cache"
The ShaderMetricSystem.cpp writes to the @user@ folder and the following
runtime error occurs:
"You may not alter data inside the asset cache.  Please check the call
stack and consider writing into the source asset folder instead."
"Attempted write location:
/data/workspace/o3de/build/linux/External/Atom-9a4d112b/RPI/Code/Cache/user/shadermetrics.json"
To avoid the error We use AZ::Test::GetEngineRootPath();

Signed-off-by: galibzon <66021303+galibzon@users.noreply.github.com>
4 years ago
..
RHI [development] Migrate Atom CPU timing stats tracking to use global stats profiler (#4549) 4 years ago
AssetManagerTestFixture.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AssetManagerTestFixture.h [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
ErrorMessageFinder.cpp Gems/Atom 5 years ago
ErrorMessageFinder.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ErrorMessageFinderTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
JsonTestUtils.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
JsonTestUtils.h move JsonUtils to AzCore 5 years ago
RPITestFixture.cpp ShaderMetricsSystem spawns a lot of warnings (#5661) 4 years ago
RPITestFixture.h moved AssetSystemStub to TestUtils folder 4 years ago
SerializeTester.h Gems/Atom 4 years ago
ShaderAssetTestUtils.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ShaderAssetTestUtils.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
TestFeatureProcessors.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
TestUtils.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago