summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
25d6952)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1612
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
if (n != 4)
ts_test_fail(TS_CTX, "M4: n=%d (!= 4)", n);
n++;
if (n != 4)
ts_test_fail(TS_CTX, "M4: n=%d (!= 4)", n);
n++;
}
if (n != 5)
ts_test_fail(TS_CTX, "M5: n=%d (!= 5)", n);
}
if (n != 5)
ts_test_fail(TS_CTX, "M5: n=%d (!= 5)", n);
ts_test_fail(TS_CTX, "value=%d (!= 2)", ex.value);
if (strcmp(ex.msg,"toto"))
ts_test_fail(TS_CTX, "message=%s (!= toto)", ex.msg);
ts_test_fail(TS_CTX, "value=%d (!= 2)", ex.value);
if (strcmp(ex.msg,"toto"))
ts_test_fail(TS_CTX, "message=%s (!= toto)", ex.msg);
/* r2 is allowed to be destroyed because not volatile */
if (v2 != 5678)
ts_test_fail(TS_CTX, "v2=%d (!= 5678)", v2);
/* r2 is allowed to be destroyed because not volatile */
if (v2 != 5678)
ts_test_fail(TS_CTX, "v2=%d (!= 5678)", v2);
ts_test_fail(TS_CTX, "v1 = %d (!= 5678)", v1);
if (!(ex.category == 1 && ex.value == 2 && !strcmp(ex.msg,"blah")))
ts_test_fail(TS_CTX, "unexpected exception contents");
ts_test_fail(TS_CTX, "v1 = %d (!= 5678)", v1);
if (!(ex.category == 1 && ex.value == 2 && !strcmp(ex.msg,"blah")))
ts_test_fail(TS_CTX, "unexpected exception contents");
}
if (!c)
ts_test_fail(TS_CTX, "ex_cleanup not executed");
}
if (!c)
ts_test_fail(TS_CTX, "ex_cleanup not executed");