mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
test(agc): register the write-back block test apart from the split write-back test
Its registration and its command-line option followed the split write-back test's, where another open pull request adds its own. They now follow the copied-direct ordering and CMASK tests. No test changes.
This commit is contained in:
1 parent
4a84bbf917
commit
b8a33ab7ff
2 files changed
+11
-11
No files matched your search
@@ -1097,18 +1097,18 @@ if(BUILD_TESTING)
|
||||
set_tests_properties(agc_storage_split_writeback PROPERTIES ENVIRONMENT_MODIFICATION
|
||||
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
|
||||
endif()
|
||||
add_test(NAME agc_storage_writeback_blocks COMMAND agc_driver_recorder_tests --writeback-blocks-only)
|
||||
set_tests_properties(agc_storage_writeback_blocks PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 30 ENVIRONMENT "APS5_PIN_WAIT_MS=3000")
|
||||
if(WIN32)
|
||||
set_tests_properties(agc_storage_writeback_blocks PROPERTIES ENVIRONMENT_MODIFICATION
|
||||
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
|
||||
endif()
|
||||
add_test(NAME agc_copied_direct_ordering COMMAND agc_driver_recorder_tests --copied-direct-only)
|
||||
set_tests_properties(agc_copied_direct_ordering PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 30)
|
||||
if(WIN32)
|
||||
set_tests_properties(agc_copied_direct_ordering PROPERTIES ENVIRONMENT_MODIFICATION
|
||||
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
|
||||
endif()
|
||||
add_test(NAME agc_storage_writeback_blocks COMMAND agc_driver_recorder_tests --writeback-blocks-only)
|
||||
set_tests_properties(agc_storage_writeback_blocks PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 30 ENVIRONMENT "APS5_PIN_WAIT_MS=3000")
|
||||
if(WIN32)
|
||||
set_tests_properties(agc_storage_writeback_blocks PROPERTIES ENVIRONMENT_MODIFICATION
|
||||
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
|
||||
endif()
|
||||
add_test(NAME agc_recorder_read_list COMMAND agc_driver_recorder_tests --read-list-only)
|
||||
set_tests_properties(agc_recorder_read_list PROPERTIES SKIP_RETURN_CODE 77 TIMEOUT 30)
|
||||
add_test(NAME agc_space_pending_writes COMMAND agc_driver_recorder_tests --space-pending-writes-only)
|
||||
|
||||
@@ -8254,6 +8254,11 @@ int main(int argc, char** argv) {
|
||||
splitWriteBackTests(device, recorder);
|
||||
return 0;
|
||||
}
|
||||
if (argc == 2 && std::string_view(argv[1]) == "--cmask-only") {
|
||||
cmaskPassTests(device, recorder);
|
||||
std::cout << "CMASK copied clear, write-back and failure tests passed\n";
|
||||
return 0;
|
||||
}
|
||||
if (argc == 2 && std::string_view(argv[1]) == "--writeback-blocks-only") {
|
||||
if (device.GetContext().hostImportAlignment == 0) {
|
||||
std::cout << "skipped, host imports are unavailable\n";
|
||||
@@ -8262,11 +8267,6 @@ int main(int argc, char** argv) {
|
||||
writeBackBlockTests(device, recorder);
|
||||
return 0;
|
||||
}
|
||||
if (argc == 2 && std::string_view(argv[1]) == "--cmask-only") {
|
||||
cmaskPassTests(device, recorder);
|
||||
std::cout << "CMASK copied clear, write-back and failure tests passed\n";
|
||||
return 0;
|
||||
}
|
||||
if (argc == 2 && std::string_view(argv[1]) == "--metadata-pass-only") {
|
||||
metadataPassTests(device, recorder);
|
||||
std::cout << "Color metadata pass tests passed\n";
|
||||
|
||||
Reference in new issue
Block a user