[PATCH] gitignore: Bulk ignore all *-test files

Peter Hutterer peter.hutterer at who-t.net
Wed May 27 19:04:35 PDT 2015


On Tue, May 26, 2015 at 07:03:30PM -0700, Bryce Harrington wrote:
> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>

looks good, a side-note here: while I was looking up something unrelated I
found that the default suffix for TEST_EXTENSIONS in automake is ".test".
That variable enables setting a couple of special features useful for tests.
https://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html

The variable can be changed of course to any suffix and we don't really gain
anything from renaming the tests now, so I'm not advocating changing it.

But I didn't know about this, so take this email as a note to 
raise awareness, in the next project the .test suffix should probably be the
default :)

Cheers,
   Peter

> ---
>  .gitignore | 18 +-----------------
>  1 file changed, 1 insertion(+), 17 deletions(-)
> 
> diff --git a/.gitignore b/.gitignore
> index 0f59395..a59564a 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -12,6 +12,7 @@
>  *.trs
>  *.tar.xz
>  *~
> +*-test
>  .libs
>  .dirstamp
>  cscope.out
> @@ -37,24 +38,7 @@ ctags
>  /test-driver
>  Makefile
>  Makefile.in
> -array-test
> -client-test
> -connection-test
> -cpp-compile-test
> -display-test
> -event-loop-test
>  exec-fd-leak-checker
>  fixed-benchmark
> -fixed-test
> -headers-test
> -list-test
> -map-test
> -message-test
> -os-wrappers-test
> -queue-test
> -resources-test
> -sanity-test
> -signal-test
> -socket-test
>  /wayland-scanner
>  protocol/*.[ch]
> -- 
> 1.9.1


More information about the wayland-devel mailing list