diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-05-03 10:58:57 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-05-03 10:58:57 -0700 |
commit | d692abff4b94a34b8fb5063ada92c915cfa6c42c (patch) | |
tree | 4aa3ba401fdb701e81905196ae5d2f0932e6d8f8 | |
parent | 730438a4a80ffd6fa2416c29a66734f72a788d96 (diff) | |
download | mc-d692abff4b94a34b8fb5063ada92c915cfa6c42c.tar.gz |
Run tests from mbld.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | bld.proj | 1 | ||||
-rw-r--r-- | libstd/optparse.myr | 4 |
3 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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 */ ;; |