Skip to content

Commit

Permalink
[L0][HIP] Fix aborted adapter match tests
Browse files Browse the repository at this point in the history
When tests are aborted the match script receives a single line input
"Aborted" and compares it with the match file. Previous match script
allowed those tests to pass despite not matching this single line input.
  • Loading branch information
kswiecicki committed Dec 15, 2023
1 parent 04b89b5 commit 0be983b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/conformance/enqueue/enqueue_adapter_hip.match
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{OPT}}Segmentation Fault
{{OPT}}{{Segmentation fault|Aborted}}
{{OPT}}urEnqueueDeviceGetGlobalVariableReadTest.Success/AMD_HIP_BACKEND___{{.*}}_
{{OPT}}urEnqueueDeviceGetGlobalVariableReadTest.InvalidEventWaitInvalidEvent/AMD_HIP_BACKEND___{{.*}}_
{{OPT}}urEnqueueDeviceGetGlobalVariableWriteTest.InvalidEventWaitInvalidEvent/AMD_HIP_BACKEND___{{.*}}_
Expand Down
2 changes: 1 addition & 1 deletion test/conformance/event/event_adapter_level_zero.match
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{OPT}}urEventGetInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_EVENT_INFO_COMMAND_TYPE
{{OPT}}urEventGetProfilingInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_PROFILING_INFO_COMMAND_QUEUED
{{OPT}}urEventGetProfilingInfoTest.Success/Intel_R__oneAPI_Unified_Runtime_over_Level_Zero___{{.*}}___UR_PROFILING_INFO_COMMAND_SUBMIT
{{OPT}} Segmentation fault
{{OPT}}{{Segmentation fault|Aborted}}
2 changes: 1 addition & 1 deletion test/conformance/kernel/kernel_adapter_hip.match
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{OPT}}Segmentation Fault
{{OPT}}{{Segmentation fault|Aborted}}
{{OPT}}urKernelGetInfoTest.Success/AMD_HIP_BACKEND___{{.*}}___UR_KERNEL_INFO_NUM_REGS
{{OPT}}urKernelGetInfoTest.InvalidSizeSmall/AMD_HIP_BACKEND___{{.*}}___UR_KERNEL_INFO_FUNCTION_NAME
{{OPT}}urKernelGetInfoTest.InvalidSizeSmall/AMD_HIP_BACKEND___{{.*}}___UR_KERNEL_INFO_NUM_ARGS
Expand Down
2 changes: 1 addition & 1 deletion test/conformance/program/program_adapter_hip.match
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{OPT}}Segmentation Fault
{{OPT}}{{Segmentation fault|Aborted}}
{{OPT}}urProgramCreateWithNativeHandleTest.InvalidNullHandleContext/AMD_HIP_BACKEND___{{.*}}_
{{OPT}}urProgramCreateWithNativeHandleTest.InvalidNullPointerProgram/AMD_HIP_BACKEND___{{.*}}_
{{OPT}}urProgramGetBuildInfoTest.Success/AMD_HIP_BACKEND___{{.*}}___UR_PROGRAM_BUILD_INFO_BINARY_TYPE
Expand Down

0 comments on commit 0be983b

Please sign in to comment.