utf8 routines in go; a start.

also:
	* parse flags in testing.Main.
	* add make test in src/lib.

R=r
DELTA=323  (323 added, 0 deleted, 0 changed)
OCL=19831
CL=19850
This commit is contained in:
Russ Cox 2008-11-21 16:13:31 -08:00
parent 284a50c109
commit 5169bb44e6
5 changed files with 325 additions and 0 deletions

View file

@ -83,6 +83,7 @@ func TRunner(t *T, test *Test) {
}
export func Main(tests *[]Test) {
flag.Parse();
ok := true;
if len(tests) == 0 {
println("gotest: warning: no tests to run");