summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-11-20 11:22:12 -0800
committerOri Bernstein <ori@eigenstate.org>2015-11-20 11:22:12 -0800
commitf767b929dbc86ff9f0fb637d6c7cdfeb20883521 (patch)
treea724581c4dd226383be20f8456ed82be98c90f91 /mbld
parent5864693bba33898265ae04f27d6e5c58af9b5590 (diff)
downloadmc-f767b929dbc86ff9f0fb637d6c7cdfeb20883521.tar.gz
We don't need to rebuild tests every time.
Staleness checks should handle it.
Diffstat (limited to 'mbld')
-rw-r--r--mbld/test.myr20
1 files changed, 0 insertions, 20 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index de0f5bd..b2f7865 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -132,7 +132,6 @@ const buildtests = {b, targ
.incpath = std.slput(std.sldup(targ.incpath), 0, "."),
]
- cleantest(b, path)
buildbin(b, &tt, true)
cmd = std.sldup([std.strcat("./", bin)][:])
tests = std.slpush(tests, (cmd, std.sldup(targ.dir)))
@@ -144,25 +143,6 @@ const buildtests = {b, targ
-> tests
}
-const cleantest = {b, src
- var obj, bin, log, usef
-
- obj = srcswapsuffix(src, config.Objsuffix)
- log = srcswapsuffix(src, ".log")
- usef = srcswapsuffix(src, ".use")
- bin = srcswapsuffix(src, "")
-
- std.remove(obj)
- std.remove(usef)
- std.remove(log)
- std.remove(bin)
-
- std.slfree(obj)
- std.slfree(usef)
- std.slfree(log)
- std.slfree(bin)
-}
-
const runtest = {cmd
var r, log