tools.test: better restart checking.
parent
f5cea754b5
commit
92496b5393
|
|
@ -126,7 +126,11 @@ PRIVATE>
|
||||||
dup current-test-file [
|
dup current-test-file [
|
||||||
test-failures get current-test-file get +test-failure+ delete-file-errors
|
test-failures get current-test-file get +test-failure+ delete-file-errors
|
||||||
'[ _ run-file ] [
|
'[ _ run-file ] [
|
||||||
dup condition? [ rethrow ] [ file-failure ] if
|
dup compute-restarts empty? [
|
||||||
|
file-failure
|
||||||
|
] [
|
||||||
|
rethrow
|
||||||
|
] if
|
||||||
] recover
|
] recover
|
||||||
] with-variable ;
|
] with-variable ;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue