Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2017 18:20:54 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321081 - head/share/mk
Message-ID:  <201707171820.v6HIKsla082377@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Jul 17 18:20:54 2017
New Revision: 321081
URL: https://svnweb.freebsd.org/changeset/base/321081

Log:
  Sort the tests alphabetically before adding them to the Kyuafiles
  
  This is being done to aid in debugging test runs, in the event the
  output shifts due to refactored Makefiles, added tests, etc.
  
  MFC after:	1 month

Modified:
  head/share/mk/bsd.test.mk

Modified: head/share/mk/bsd.test.mk
==============================================================================
--- head/share/mk/bsd.test.mk	Mon Jul 17 18:12:08 2017	(r321080)
+++ head/share/mk/bsd.test.mk	Mon Jul 17 18:20:54 2017	(r321081)
@@ -66,6 +66,10 @@ _TESTS=
 .include <plain.test.mk>
 .include <tap.test.mk>
 
+# Sort the tests alphabetically, so the results are deterministically formed
+# across runs.
+_TESTS:=	${_TESTS:O}
+
 # kyua automatically descends directories; only run make check on the
 # top-level directory
 .if !make(check)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707171820.v6HIKsla082377>