[Pitch] Exit tests

Yup, in general issue recording "just works".

This is something we did look at doing, but decided against (at least in the initial feature implementation) because Swift itself doesn't really define the effects of a precondition failure beyond "abnormal process termination". As implemented, swift::fatalError() calls abort() indiscriminately, which means there's no practical way to distinguish fatalError() from preconditionFailure() without scraping stderr.

There was some discussion on this topic in an earlier thread.

1 Like