diff options
author | Thomas Wood <thomas.wood@intel.com> | 2015-06-29 16:47:14 +0100 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2015-07-02 08:17:17 +0100 |
commit | d01ebbd97ddb323564c75bfaaa374011fde4cd38 (patch) | |
tree | 24f31471afbe6972599464f224c24d763456a572 /lib/igt_core.h | |
parent | 8a109f94b9205222f79f20350750b39dd4b068cd (diff) |
docs: various documentation fixes
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h index 2b2b6e93..babb0bb0 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -100,8 +100,8 @@ void __igt_fixture_end(void) __attribute__((noreturn)); * Annotate global test fixture code * * Testcase with subtests often need to set up a bunch of global state as the - * common test fixture. To avoid such code interferring with the subtest - * enumeration (e.g. when enumerating on systemes without an intel gpu) such + * common test fixture. To avoid such code interfering with the subtest + * enumeration (e.g. when enumerating on systems without an intel gpu) such * blocks should be annotated with igt_fixture. */ #define igt_fixture for (int igt_tokencat(__tmpint,__LINE__) = 0; \ @@ -131,7 +131,7 @@ int igt_subtest_init_parse_opts(int *argc, char **argv, * @argv: argv from the test's main() * * This initializes the for tests with subtests without the need for additional - * cmdline options. It is just a simplified version of + * command line options. It is just a simplified version of * igt_subtest_init_parse_opts(). * * If there's not a reason to the contrary it's less error prone to just use an @@ -199,7 +199,7 @@ bool igt_only_list_subtests(void); * * This is a magic control flow block used instead of a main() function for * tests with subtests. Open-coding the main() function is only recommended if - * the test needs to parse additional cmdline arguments of its own. + * the test needs to parse additional command line arguments of its own. */ #define igt_main \ static void igt_tokencat(__real_main, __LINE__)(void); \ @@ -239,7 +239,7 @@ void igt_simple_init_parse_opts(int *argc, char **argv, * * This is a magic control flow block used instead of a main() function for * simple tests. Open-coding the main() function is only recommended if - * the test needs to parse additional cmdline arguments of its own. + * the test needs to parse additional command line arguments of its own. */ #define igt_simple_main \ static void igt_tokencat(__real_main, __LINE__)(void); \ @@ -353,7 +353,7 @@ void igt_exit(void) __attribute__((noreturn)); * @ncmp: negated version of @cmp * @n2: second value * - * Like igt_assert_cmpint(), but for unsigned ints; + * Like igt_assert_cmpint(), but for unsigned ints. */ #define igt_assert_cmpuint(n1, cmp, ncmp, n2) \ do { \ @@ -371,7 +371,7 @@ void igt_exit(void) __attribute__((noreturn)); * @ncmp: negated version of @cmp * @n2: second value * - * Like igt_assert_cmpint(), but for doubles; + * Like igt_assert_cmpint(), but for doubles. */ #define igt_assert_cmpdouble(n1, cmp, ncmp, n2) \ do { \ |