Re: We should test if EUPHORIA is handling bad code well

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

If euphoria just crashes without generating an ex.err at all the test would return true. This is a big problem. Let me and some of you developers design a test framework for how testing that bad code is handled correctly.

what about write a 0 to a log file on start, just before exit write a 1. the test calling program will know the program under test at least got to write either a zero or a 1.

is there another obvious way for a program to detect a crash? a new instance of ex.err might also show a machine exception that could be counted as a passed test if it wasn't anticipated.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu