Cosmos Nicolaou | b1c49cd | 2015-02-24 15:24:08 -0800 | [diff] [blame] | 1 | // 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 Simsa | e7fc94d | 2015-02-25 12:12:07 -0800 | [diff] [blame] | 4 | |
James Ring | 8c3f1f9 | 2015-02-10 15:46:32 -0800 | [diff] [blame] | 5 | // This file was auto-generated via go generate. |
| 6 | // DO NOT UPDATE MANUALLY |
| 7 | package main_test |
| 8 | |
| 9 | import "testing" |
| 10 | import "os" |
| 11 | |
Cosmos Nicolaou | 1381f8a | 2015-03-13 09:40:34 -0700 | [diff] [blame] | 12 | import "v.io/x/ref/test" |
| 13 | import "v.io/x/ref/test/v23tests" |
James Ring | 8c3f1f9 | 2015-02-10 15:46:32 -0800 | [diff] [blame] | 14 | |
| 15 | func TestMain(m *testing.M) { |
Cosmos Nicolaou | 1381f8a | 2015-03-13 09:40:34 -0700 | [diff] [blame] | 16 | test.Init() |
Cosmos Nicolaou | c64d366 | 2015-02-11 07:40:40 -0800 | [diff] [blame] | 17 | cleanup := v23tests.UseSharedBinDir() |
| 18 | r := m.Run() |
| 19 | cleanup() |
Cosmos Nicolaou | c64d366 | 2015-02-11 07:40:40 -0800 | [diff] [blame] | 20 | os.Exit(r) |
James Ring | 8c3f1f9 | 2015-02-10 15:46:32 -0800 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | func TestV23Agentd(t *testing.T) { |
| 24 | v23tests.RunTest(t, V23TestAgentd) |
| 25 | } |