compiler.tests: fix a few KERNEL-ERROR.

locals-and-roots
John Benediktsson 2016-03-22 15:22:15 -07:00
parent 6ec952c436
commit 6e035c3640
2 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ os windows? [
! : callstack-overflow callstack-overflow f ;
! [ callstack-overflow ] must-fail
[ overflow-c ] [
2 head ${ "kernel-error" ERROR-CALLSTACK-OVERFLOW } =
2 head ${ KERNEL-ERROR ERROR-CALLSTACK-OVERFLOW } =
] must-fail-with
! The way this is problematic is because a primitive is
@ -63,7 +63,7 @@ os windows? [
! so we need to handle the case specially in
! dispatch_non_resumable_signal().
[ overflow/w-primitive ] [
2 head ${ "kernel-error" ERROR-CALLSTACK-OVERFLOW } =
2 head ${ KERNEL-ERROR ERROR-CALLSTACK-OVERFLOW } =
] must-fail-with
! This test crashes with a Memory protection fault on OS X 64-bit

View File

@ -9,7 +9,7 @@ FUNCTION: void this_does_not_exist ( )
[ this_does_not_exist ] try
[ this_does_not_exist ] [
${ "kernel-error" ERROR-UNDEFINED-SYMBOL "this_does_not_exist" string>symbol f }
${ KERNEL-ERROR ERROR-UNDEFINED-SYMBOL "this_does_not_exist" string>symbol f }
=
] must-fail-with
@ -31,7 +31,7 @@ FUNCTION: void no_such_function ( )
[ no_such_function ] [
${
"kernel-error" ERROR-UNDEFINED-SYMBOL
KERNEL-ERROR ERROR-UNDEFINED-SYMBOL
"no_such_function" string>symbol
"no_such_library" load-library
}