summaryrefslogtreecommitdiff
path: root/mbld/install.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-17 11:10:48 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-18 10:47:59 -0700
commitd3566a96838ddc2346fa57f8c4d908812bee6206 (patch)
treec0d4ac8c89180b4bb06f4a547ae1570ad711bf2e /mbld/install.myr
parente35e7e3998b990d50818927d30e4792e25368206 (diff)
downloadmc-d3566a96838ddc2346fa57f8c4d908812bee6206.tar.gz
Allow any binary or command to be tagged as a test.
Diffstat (limited to 'mbld/install.myr')
-rw-r--r--mbld/install.myr5
1 files changed, 2 insertions, 3 deletions
diff --git a/mbld/install.myr b/mbld/install.myr
index a36eee2..3238c36 100644
--- a/mbld/install.myr
+++ b/mbld/install.myr
@@ -28,11 +28,11 @@ const movetargs = {b, rm
for tn in b.all
match gettarg(b.targs, tn)
| `Bin bt:
- if bt.install
+ if bt.install && !bt.istest
movefile(b, rm, bt.dir, bt.name, config.Binpath, 0o755)
;;
| `Lib lt:
- if lt.install
+ if lt.install && !lt.istest
movefile(b, rm, lt.dir, lt.name, config.Libpath, 0o644)
libarchive = std.fmt("lib{}.a", lt.name)
movefile(b, rm, lt.dir, libarchive, config.Libpath, 0o644)
@@ -47,7 +47,6 @@ const movetargs = {b, rm
for m in mt.pages
moveman(b, rm, mt.dir, m)
;;
- | `Test tt: /* nothing */
;;
;;
-> true