barrier-1.c: Change timestamp tests from '<' to '<='.
* testsuite/libgomp.c/barrier-1.c: Change timestamp tests from '<' to '<='. From-SVN: r117491
This commit is contained in:
parent
8887708edc
commit
b50019f0aa
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
|
||||||
|
'<' to '<='.
|
||||||
|
|
||||||
2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
|
2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
|
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from
|
||||||
|
|
|
@ -38,13 +38,13 @@ int main()
|
||||||
function (NULL);
|
function (NULL);
|
||||||
GOMP_parallel_end ();
|
GOMP_parallel_end ();
|
||||||
|
|
||||||
assert (timercmp (&stamps[0][0], &stamps[0][1], <));
|
assert (!timercmp (&stamps[0][0], &stamps[0][1], >));
|
||||||
assert (timercmp (&stamps[1][0], &stamps[0][1], <));
|
assert (!timercmp (&stamps[1][0], &stamps[0][1], >));
|
||||||
assert (timercmp (&stamps[2][0], &stamps[0][1], <));
|
assert (!timercmp (&stamps[2][0], &stamps[0][1], >));
|
||||||
|
|
||||||
assert (timercmp (&stamps[0][1], &stamps[0][2], <));
|
assert (!timercmp (&stamps[0][1], &stamps[0][2], >));
|
||||||
assert (timercmp (&stamps[0][1], &stamps[1][2], <));
|
assert (!timercmp (&stamps[0][1], &stamps[1][2], >));
|
||||||
assert (timercmp (&stamps[0][1], &stamps[2][2], <));
|
assert (!timercmp (&stamps[0][1], &stamps[2][2], >));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue