Its because, In a testbench I want to give a final report that the test was succesful. I would have a global variable, say, allTests_Passed set to false if there was ever an error. So after all other process exits( i.e, the main process), I would check the status of the global variable, to say if it has passed the test. If you have a better way to do this, u cud help me with that, like making a part of code in the process (the main one..) to get executed just at the end.
Thanks.