summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-03 10:58:57 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-03 10:58:57 -0700
commitf1af8834d4fac147c4fd27591d8a340eac000256 (patch)
tree4aa3ba401fdb701e81905196ae5d2f0932e6d8f8
parentb6e670357b498734e97f5c316782cba6b04f0a33 (diff)
downloadmc-f1af8834d4fac147c4fd27591d8a340eac000256.tar.gz
Run tests from mbld.
-rw-r--r--Makefile2
-rw-r--r--bld.proj1
-rw-r--r--libstd/optparse.myr4
3 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0ceae85..a9232a8 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ include mk/c.mk
include config.mk
check: all
- $(MAKE) -C test check #&& \
+ ./mbldwrap.sh test:runtest
# BORKED. ./mbldwrap.sh test
bench: all
diff --git a/bld.proj b/bld.proj
index 1f23b30..f188846 100644
--- a/bld.proj
+++ b/bld.proj
@@ -3,5 +3,6 @@ sub =
libstd
libbio
libregex
+ test
;;
diff --git a/libstd/optparse.myr b/libstd/optparse.myr
index 8b71ce8..e9bf96e 100644
--- a/libstd/optparse.myr
+++ b/libstd/optparse.myr
@@ -42,10 +42,10 @@ type optctx = struct
optargs : byte[:][:]
/* state */
- optdone : bool /* if we've seen '--', everything's an arg */
- finished : bool /* if we've processed all the optargs */
argidx : size
curarg : byte[:]
+ optdone : bool /* if we've seen '--', everything's an arg */
+ finished : bool /* if we've processed all the optargs */
;;