[master] 4b0f93f Also use the C locale for re-checking our list of tests

Nils Goroll nils.goroll at uplex.de
Thu Oct 13 08:24:05 CEST 2016


commit 4b0f93f09ea32248605357acf48297fb349e95e9
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Oct 13 07:58:16 2016 +0200

    Also use the C locale for re-checking our list of tests
    
    otherwise, when the tests directory contains vtc files whose names
    get sorted differently in the current environment's locale than in C,
    config.status will get re-run for every make check invocation, which
    is particularly annoying with parallel makes

diff --git a/bin/varnishtest/Makefile.am b/bin/varnishtest/Makefile.am
index 1c519e1..26563e2 100644
--- a/bin/varnishtest/Makefile.am
+++ b/bin/varnishtest/Makefile.am
@@ -9,6 +9,7 @@ check: check-am check-local
 check-am: check-local
 # See if list of checks have changed, recheck
 check-local:
+	LC_ALL=C; \
 	if [ "$$(cd $(srcdir) && echo tests/*.vtc)" != "@VTC_TESTS@" ]; then \
 		cd $(top_builddir) && ./config.status --recheck ; \
 	fi



More information about the varnish-commit mailing list