Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
// Copyright (c) 2011 CZ.NIC z.s.p.o. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
// blame: jnml, labs.nic.cz |
| 6 |
|
| 7 |
package storage // import "modernc.org/fileutil/storage" |
| 8 |
|
| 9 |
import ( |
| 10 |
"flag" |
| 11 |
"os" |
| 12 |
"runtime" |
| 13 |
"testing" |
| 14 |
) |
| 15 |
|
| 16 |
var ( |
| 17 |
devFlag = flag.Bool("dev", false, "enable dev tests") |
| 18 |
goFlag = flag.Int("go", 1, "GOMAXPROCS") |
| 19 |
) |
| 20 |
|
| 21 |
func TestMain(m *testing.M) { |
| 22 |
flag.Parse() |
| 23 |
runtime.GOMAXPROCS(*goFlag) |
| 24 |
os.Exit(m.Run()) |
| 25 |
} |