Mercurial > projects > dstress
changeset 373:177ce8d13eac
test cases that unexpectetly fail and in addition fail to provide file/line information are now treated as ERROR instead of FAIL
author | thomask |
---|---|
date | Thu, 31 Mar 2005 08:59:14 +0000 |
parents | f1c605ebb825 |
children | f87ba6507260 |
files | dstress.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dstress.c Sun Mar 27 18:45:36 2005 +0000 +++ b/dstress.c Thu Mar 31 08:59:14 2005 +0000 @@ -392,7 +392,11 @@ if(res==RETURN_OK){ printf("PASS: \t%s\n", arg[2]); }else if(res==RETURN_FAIL && good_error){ - printf("FAIL: \t%s [%d]\n", arg[2], res); + if(checkErrorMessage(arg[2], "", buffer)){ + printf("FAIL: \t%s [%d]\n", arg[2], res); + }else{ + printf("ERROR:\t%s [%d]\n", arg[2], res); + } }else{ printf("ERROR:\t%s [%d]\n", arg[2], res); }