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/testsuite/libgomp.c | |
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/testsuite/libgomp.c')
-rw-r--r-- | libgomp/testsuite/libgomp.c/barrier-1.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |