mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
test(agc): run the queued write group tests in ctest
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
fce8aa8c7f
commit
9a1ac6a23d
2 files changed
+7
-1
No files matched your search
@@ -1003,10 +1003,11 @@ if(BUILD_TESTING)
|
||||
set_tests_properties(agc_draw_inputs_in_place PROPERTIES SKIP_RETURN_CODE 77)
|
||||
add_test(NAME agc_resident_present COMMAND agc_driver_recorder_tests --resident-present-only)
|
||||
set_tests_properties(agc_resident_present PROPERTIES SKIP_RETURN_CODE 77)
|
||||
add_test(NAME agc_queued_write_groups COMMAND agc_driver_recorder_tests --queued-write-groups-only)
|
||||
add_test(NAME agc_slice_dirty COMMAND agc_driver_recorder_tests --slice-dirty-only)
|
||||
set_tests_properties(agc_slice_dirty PROPERTIES SKIP_RETURN_CODE 77)
|
||||
if(WIN32)
|
||||
set_tests_properties(agc_host_import_unmap agc_parked_import_unmap agc_host_import_retirement agc_unit_shadow agc_descriptor_pool_recycling agc_draw_snapshot_cap agc_multisample_guest_access agc_draw_inputs_in_place agc_resident_present agc_slice_dirty PROPERTIES ENVIRONMENT_MODIFICATION
|
||||
set_tests_properties(agc_host_import_unmap agc_parked_import_unmap agc_host_import_retirement agc_unit_shadow agc_descriptor_pool_recycling agc_draw_snapshot_cap agc_multisample_guest_access agc_draw_inputs_in_place agc_resident_present agc_slice_dirty agc_queued_write_groups PROPERTIES ENVIRONMENT_MODIFICATION
|
||||
"PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
|
||||
add_test(NAME agc_host_import_second_mapping COMMAND agc_driver_recorder_tests --host-import-second-mapping-only)
|
||||
set_tests_properties(agc_host_import_second_mapping PROPERTIES SKIP_RETURN_CODE 77 ENVIRONMENT_MODIFICATION
|
||||
|
||||
@@ -6474,6 +6474,11 @@ void Run(Context context) {
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
try {
|
||||
if (argc == 2 && std::string_view(argv[1]) == "--queued-write-groups-only") {
|
||||
queuedWriteGroupTests();
|
||||
std::cout << "queued write group tests passed\n";
|
||||
return 0;
|
||||
}
|
||||
std::unique_ptr<Device> created;
|
||||
try {
|
||||
created = std::make_unique<Device>();
|
||||
|
||||
Reference in new issue
Block a user