svn commit: r321081 - head/share/mk

Ngie Cooper ngie at FreeBSD.org
Mon Jul 17 18:20:55 UTC 2017


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)


More information about the svn-src-all mailing list