#
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#

# -*- mode: python; -*-
import re
Import('AgentEnv')
env = AgentEnv.Clone()

AgentEnv.MakeTestEnv(env)

diag_test_suite = []
test_ping = AgentEnv.MakeTestCmd(env, 'test_ping', diag_test_suite)
env.Alias('agent:test_ping', test_ping)


test = env.TestSuite('agent-test', diag_test_suite)
env.Alias('agent:diag', test)
env.Alias('controller/src/vnsw/agent/diag:test', test)

diag_flaky_test_suite = []
flaky_test = env.TestSuite('agent-flaky-test', diag_flaky_test_suite)
env.Alias('controller/src/vnsw/agent/diag:flaky_test', flaky_test)

Return('diag_test_suite')
