[PATCH] test: Fix a couple of typos in documentation.

Jeremy Huddleston jeremyhu at apple.com
Tue Nov 29 23:57:30 PST 2011


For the first hunk,
Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

For the second hunk, we don't use glib for the tests any more.  I'd just delete the sentence about g_test_bug.  See:

commit 196d679bed2e9959d2fca89d4ee4bbc551681d0b
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Apr 15 14:51:06 2011 +1000

    test: remove glib dependency
    
    The few features from the glib test suite we used can be replaced with
    assert and printf. This patch is a simple replacement for these two
        g_assert → assert
        g_test_message → printf
    
    g_test_init is removed and so is g_test_bug_base. g_test_run replaced with a
    simple return 0.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Acked-by: Tiago Vignatti <tiago.vignatti at nokia.com>
    Acked-by: Gaetan Nadon <memsize at videotron.ca>


On Nov 29, 2011, at 6:49 PM, Bryce Harrington wrote:

> 
> Signed-off-by: Bryce Harrington <bryce at canonical.com>
> ---
> test/README |    7 ++++---
> 1 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/test/README b/test/README
> index 5759a72..59b1f47 100644
> --- a/test/README
> +++ b/test/README
> @@ -15,8 +15,9 @@ of the X server. Unless the test suite replicates the expected state, which
> may be difficult.
> 
> = How to run the tests =
> -Run "make check" the test directory. This will compile the tests and execute
> -them in the order specified in the TESTS variable in test/Makefile.am.
> +Run "make check" in the test directory. This will compile the tests and
> +execute them in the order specified in the TESTS variable in
> +test/Makefile.am.
> 
> Each set of tests related to a subsystem are available as a binary that can be
> executed directly. For example, run "xkb" to perform some xkb-related tests.
> @@ -24,7 +25,7 @@ executed directly. For example, run "xkb" to perform some xkb-related tests.
> == Adding a new test ==
> When adding a new test, ensure that you add a short description of what the
> test does and what the expected outcome is. If the test reproduces a
> -particular bug, using g_test_bug().
> +particular bug, use g_test_bug().
> 
> == Misc ==
> 
> -- 
> 1.7.4.1
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 



More information about the xorg-devel mailing list