openmp: Improve testsuite/libgomp.c/affinity-1.c testcase
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Oct 2021 15:19:54 +0000 (17:19 +0200)
committerJakub Jelinek <jakub@redhat.com>
Fri, 15 Oct 2021 15:19:54 +0000 (17:19 +0200)
commita10794eafb151b9274d673dfae93459d437cbe4a
treed265e75da8f5f49579d062f5fc4f88bb8f9ea3a0
parent168761adf970f01d0870477c9ce0a7fe1b847a3b
openmp: Improve testsuite/libgomp.c/affinity-1.c testcase

I've noticed that while I have added hopefully sufficient test coverage
for the case where one uses simple number or !number as p-interval,
I haven't added any coverage for number:len:stride or number:len.

This patch adds that.

2021-10-15  Jakub Jelinek  <jakub@redhat.com>

* testsuite/libgomp.c/affinity-1.c (struct places): Change name field
type from char [50] to const char *.
(places_array): Add a testcase for simplified syntax place followed
by length or length and stride.
libgomp/testsuite/libgomp.c/affinity-1.c