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

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

AgentEnv.MakeTestEnv(env)

kstate_test_suite = []
kstate_flaky_test_suite = []

test_kstate = AgentEnv.MakeTestCmd(env, 'test_kstate', kstate_test_suite)
test_sandesh_kstate = AgentEnv.MakeTestCmdSrc(env, 'test_sandesh_kstate',
                                              [
                                               'test_sandesh_kstate.cc'
                                              ],
                                              kstate_test_suite)

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

flaky_test = env.TestSuite('agent-flaky-test', kstate_flaky_test_suite)
env.Alias('controller/src/vnsw/agent/kstate:flaky_test', flaky_test)

Return('kstate_test_suite')
