Re: [Intel-gfx] [PATCH i-g-t] lib: avoid getopt value conflicts with tests

2014-07-28 Thread Thomas Wood
On 25 July 2014 17:57, Paulo Zanoni wrote: > 2014-07-25 13:08 GMT-03:00 Thomas Wood : >> Most tests use a printable character as the value for getopt to return, >> so avoid conflicts by using non-printing values for the standard options. > > Instead of this patch, isn't there any way to verify if

Re: [Intel-gfx] [PATCH i-g-t] lib: avoid getopt value conflicts with tests

2014-07-25 Thread Paulo Zanoni
2014-07-25 13:08 GMT-03:00 Thomas Wood : > Most tests use a printable character as the value for getopt to return, > so avoid conflicts by using non-printing values for the standard options. Instead of this patch, isn't there any way to verify if the tests are using any character that is "reserved

[Intel-gfx] [PATCH i-g-t] lib: avoid getopt value conflicts with tests

2014-07-25 Thread Thomas Wood
Most tests use a printable character as the value for getopt to return, so avoid conflicts by using non-printing values for the standard options. Signed-off-by: Thomas Wood --- lib/igt_core.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/lib/igt_cor