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/Code/Tools/AssetProcessor/native
AMZN-stankowi 9ee9730294
Automated test for scene files with and without python scripts running python incorrectly (#2373)
* Cleared m_scriptFilename between scene files.
This fixes a bug where a Python script file would be run on a scene file
that didn't have a script file set.
Added a general case version to SceneBuilderWorker.cpp, to make it easy
to mark all scene files as dirty.
Automated tests for this will come in a separate pull request.

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Work in progress automated tests

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Python test done

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Sorted jobs work now. This may sort too aggressively, I'll remove the additional sorting after some testing.

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Cleaned up test

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Fixed stray '

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Removed temp code from test

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Command line help options for AP
Removed job sorting that wasn't actually sorting jobs

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>

* Changed constant variable names to match coding standards

Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>
4 years ago
..
AssetDatabase Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AssetManager Automated test for scene files with and without python scripts running python incorrectly (#2373) 4 years ago
FileProcessor Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileServer Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileWatcher Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
InternalBuilders fix reference to temporary (#2312) 4 years ago
connection Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
resourcecompiler Automated test for scene files with and without python scripts running python incorrectly (#2373) 4 years ago
shadercompiler Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
tests {LYN-4996} Asset Processor is not reprocessing STL files after settings are edited/updated (#2095) 4 years ago
ui Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
unittests Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
utilities Automated test for scene files with and without python scripts running python incorrectly (#2373) 4 years ago
AssetProcessorBatchBuildTarget.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AssetProcessorBuildTarget.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
assetprocessor.h Automated test for scene files with and without python scripts running python incorrectly (#2373) 4 years ago
main_batch.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
main_gui.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago