blob: 1f17192174130a1036736d6d24623d4a19e72a7e [file] [log] [blame]
Cosmos Nicolaoub1c49cd2015-02-24 15:24:08 -08001// Copyright 2015 The Vanadium Authors. 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.
Jiri Simsae7fc94d2015-02-25 12:12:07 -08004
Suharsh Sivakumard19c95d2015-02-19 14:44:50 -08005// This file was auto-generated via go generate.
6// DO NOT UPDATE MANUALLY
7package flag
8
9import "fmt"
10import "testing"
11import "os"
12
Jiri Simsaffceefa2015-02-28 11:03:34 -080013import "v.io/x/ref/lib/modules"
14import "v.io/x/ref/lib/testutil"
Suharsh Sivakumard19c95d2015-02-19 14:44:50 -080015
16func init() {
17 modules.RegisterChild("tamFromFlag", ``, tamFromFlag)
18}
19
20func TestMain(m *testing.M) {
21 testutil.Init()
Cosmos Nicolaou42a17362015-03-10 16:40:18 -070022 if modules.IsModulesChildProcess() {
Suharsh Sivakumard19c95d2015-02-19 14:44:50 -080023 if err := modules.Dispatch(); err != nil {
24 fmt.Fprintf(os.Stderr, "modules.Dispatch failed: %v\n", err)
25 os.Exit(1)
26 }
27 return
28 }
29 os.Exit(m.Run())
30}