diff options
author | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-06 08:32:33 +0000 |
---|---|---|
committer | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-06 08:32:33 +0000 |
commit | 3adbdf3a8b51c4e58d04465c4e55ad9654dee4f6 (patch) | |
tree | 5f4eb4f6c5f0a54e763df45cd64473ee8c41cf11 /libgomp | |
parent | c812091b10ad032479169662d108c573950b9829 (diff) | |
download | gcc-3adbdf3a8b51c4e58d04465c4e55ad9654dee4f6.tar.gz |
* testsuite/libgomp.c/barrier-1.c: Change timestamp tests from
'<' to '<='.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 5 | ||||
-rw-r--r-- | libgomp/testsuite/libgomp.c/barrier-1.c | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index d39005ca23f..3c0fa09e72b 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,10 @@ 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> + * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test. * configure: Regenerate. diff --git a/libgomp/testsuite/libgomp.c/barrier-1.c b/libgomp/testsuite/libgomp.c/barrier-1.c index 915f2dea97c..1f8d1f0d3f9 100644 --- a/libgomp/testsuite/libgomp.c/barrier-1.c +++ b/libgomp/testsuite/libgomp.c/barrier-1.c @@ -38,13 +38,13 @@ int main() function (NULL); GOMP_parallel_end (); - assert (timercmp (&stamps[0][0], &stamps[0][1], <)); - assert (timercmp (&stamps[1][0], &stamps[0][1], <)); - assert (timercmp (&stamps[2][0], &stamps[0][1], <)); + assert (!timercmp (&stamps[0][0], &stamps[0][1], >)); + assert (!timercmp (&stamps[1][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[1][2], <)); - assert (timercmp (&stamps[0][1], &stamps[2][2], <)); + assert (!timercmp (&stamps[0][1], &stamps[0][2], >)); + assert (!timercmp (&stamps[0][1], &stamps[1][2], >)); + assert (!timercmp (&stamps[0][1], &stamps[2][2], >)); return 0; } |