Skip to content

Commit

Permalink
Merge "Add UT for negative cases for encode/decode functions in cdbif…
Browse files Browse the repository at this point in the history
…, remove unused code, enable perf tests but at low loop count"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 3, 2015
2 parents 53df3f2 + ff96c52 commit cc87335
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 692 deletions.
20 changes: 0 additions & 20 deletions src/analytics/test/SConscript
Expand Up @@ -27,7 +27,6 @@ env_noWerror_excep = env_noWerror.Clone()
env_noWerror_excep.CppEnableExceptions()

SandeshGenFiles = env.SandeshGenCpp('viz_collector_test.sandesh')
SandeshGenFiles += env.SandeshGenCpp('vizd_test.sandesh')
SandeshGenSrcs = env.ExtractCpp(SandeshGenFiles)
SandeshGenObjs = env.Object(SandeshGenSrcs)

Expand Down Expand Up @@ -104,25 +103,6 @@ options_test = env.UnitTest('options_test', ['../buildinfo.o', '../options.o',
'options_test.cc'])
env.Alias('src/analytics:options_test', options_test)

#vizd_test_obj = env_noWerror_excep.Object('vizd_test.o', 'vizd_test.cc')
#vizd_test = env.UnitTest('vizd_test',
# [
# SandeshGenObjs,
# env['ANALYTICS_SANDESH_GEN_OBJS'],
# '../viz_message.o',
# '../viz_collector.o',
# '../collector.o',
# '../ruleeng.o',
# '../db_handler.o',
# '../vizd_table_desc.o',
# '../OpServerProxy.o',
# '../generator.o',
# '../redis_connection.o',
# '../redis_processor_vizd.o',
# vizd_test_obj]
# )
#env.Alias('src/analytics:vizd_test', vizd_test)

protobufEnv = env.Clone()
protobuf_test_gen_files = protobufEnv.ProtocGenCpp('test_message.proto')
protobuf_test_gen_files += protobufEnv.ProtocGenCpp('test_message_extensions.proto')
Expand Down

0 comments on commit cc87335

Please sign in to comment.