All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/5] lib/tests: fix conflicting args test
@ 2019-05-29 23:27 Lucas De Marchi
  2019-05-29 23:27 ` [PATCH i-g-t 2/5] lib/igt_core: reserve long options for individual tests Lucas De Marchi
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Lucas De Marchi @ 2019-05-29 23:27 UTC (permalink / raw)
  To: intel-gfx; +Cc: Lucas De Marchi

We want to check if the long option conflicts with one from the core.
The check for conflicting short option already exists just above.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 lib/tests/igt_conflicting_args.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tests/igt_conflicting_args.c b/lib/tests/igt_conflicting_args.c
index c357b6c5..d8be138e 100644
--- a/lib/tests/igt_conflicting_args.c
+++ b/lib/tests/igt_conflicting_args.c
@@ -91,7 +91,7 @@ int main(int argc, char **argv)
 	internal_assert_wsignaled(do_fork(), SIGABRT);
 
 	/* conflict on long option 'val' representations */
-	long_options[0] = (struct option) { "iterations", required_argument, NULL, 0};
+	long_options[0] = (struct option) { "list-subtests", required_argument, NULL, 0};
 	short_options = "";
 	internal_assert_wsignaled(do_fork(), SIGABRT);
 
-- 
2.21.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-06-05  9:04 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-29 23:27 [PATCH i-g-t 1/5] lib/tests: fix conflicting args test Lucas De Marchi
2019-05-29 23:27 ` [PATCH i-g-t 2/5] lib/igt_core: reserve long options for individual tests Lucas De Marchi
2019-05-30  0:03   ` Antonio Argenziano
2019-05-31 10:00   ` Petri Latvala
2019-05-29 23:27 ` [PATCH i-g-t 3/5] lib/igt_core: 0 is a valid val for long options Lucas De Marchi
2019-05-31 10:05   ` Petri Latvala
2019-05-29 23:27 ` [PATCH i-g-t 4/5] testdisplay: use first available option values Lucas De Marchi
2019-05-30  0:05   ` Antonio Argenziano
2019-05-31 10:06   ` Petri Latvala
2019-05-29 23:27 ` [PATCH i-g-t 5/5] lib/igt_core: add -h to usage Lucas De Marchi
2019-05-31 10:07   ` Petri Latvala
2019-05-31 19:23     ` Lucas De Marchi
2019-05-30  1:27 ` ✗ Fi.CI.BAT: failure for series starting with [1/5] lib/tests: fix conflicting args test Patchwork
2019-05-31  7:31 ` ✓ Fi.CI.BAT: success " Patchwork
2019-05-31  9:59 ` [PATCH i-g-t 1/5] " Petri Latvala
2019-05-31 14:55   ` Lucas De Marchi
2019-06-04 21:38     ` Lucas De Marchi
2019-06-05  9:04       ` Petri Latvala
2019-05-31 14:47 ` ✓ Fi.CI.IGT: success for series starting with [1/5] " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.