shithub: mc

Download patch

ref: b1e7c8e865c13699c1f3e3ff81ee397a133b4659
parent: 1b56041cec12b718c7c049d7739ffe73f0fcd53b
author: Ori Bernstein <ori@eigenstate.org>
date: Sat May 14 10:25:13 EDT 2016

'mbld test' now sets the 'test' sysattr

--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -7,6 +7,7 @@
 use "parse"
 use "types"
 use "util"
+use "syssel"
 
 use "config"
 
@@ -19,6 +20,8 @@
 	var failed, p, ok
 	var bincmd
 
+	/* build with the test tag */
+	addsysattrs(b, ["test"][:])
 	/* no implicit tests to run */
 	tests = [][:]
 	buildall(b)