blob: b874fc465b68b205c16c552ab8f02171cbbefd1e [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
Matt Rosencrantz94502cf2015-03-18 09:43:44 -07007package rpc_test
Suharsh Sivakumard19c95d2015-02-19 14:44:50 -08008
9import "fmt"
10import "testing"
11import "os"
12
Cosmos Nicolaou1381f8a2015-03-13 09:40:34 -070013import "v.io/x/ref/test"
14import "v.io/x/ref/test/modules"
Suharsh Sivakumard19c95d2015-02-19 14:44:50 -080015
Suharsh Sivakumar2ad4e102015-03-17 21:23:37 -070016func init() {
17 modules.RegisterChild("rootMountTable", ``, rootMountTable)
18}
19
Suharsh Sivakumard19c95d2015-02-19 14:44:50 -080020func TestMain(m *testing.M) {
Cosmos Nicolaou1381f8a2015-03-13 09:40:34 -070021 test.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}