test(libc): drop the stack bound case, it also passes without the bound

This commit is contained in:
AlxcBTW committed 2026-10-18 18:57:49 +02:00
1 parent 19b8fb3239
commit 78869e5a47
1 file changed
-5
-5
View File
@@ -841,11 +841,6 @@ if(MINGW)
set_tests_properties(windows_crash_stack_words PROPERTIES TIMEOUT 20
ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>;APS5_CRASH_STACK_BYTES=set:2048"
PASS_REGULAR_EXPRESSION "FATAL: unhandled exception 0xc0000005[^~]*stack words from rsp[^~]*data at stack words that point outside the stack[^~]*c0ffee0000000000 c0ffee0000000001 c0ffee0000000002 c0ffee0000000003 c0ffee0000000004 c0ffee0000000005 c0ffee0000000006 c0ffee0000000007")
add_test(NAME windows_crash_stack_words_bounded COMMAND windows_backtrace_report_tests fault)
set_tests_properties(windows_crash_stack_words_bounded PROPERTIES TIMEOUT 20
ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>;APS5_CRASH_STACK_BYTES=set:0x100000"
PASS_REGULAR_EXPRESSION "FATAL: unhandled exception 0xc0000005[^~]*stack words from rsp"
FAIL_REGULAR_EXPRESSION " [+]0x[1-9a-f][0-9a-f][0-9a-f][0-9a-f]")
add_test(NAME windows_crash_without_stack_words COMMAND windows_backtrace_report_tests fault)
set_tests_properties(windows_crash_without_stack_words PROPERTIES TIMEOUT 20
ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>;APS5_CRASH_STACK_BYTES=unset:"