summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-10-28 14:47:56 +0200
committerimarom <imarom@cisco.com>2015-10-28 14:47:56 +0200
commit788ba38b545be2f76f290f73b16cbfc37f4fa187 (patch)
tree514d237367def26a1e57f0cfddbfa228ca460ca8 /linux
parentcb8bc9bda11c951b8b91a635d8d4d6df8d5a0ab8 (diff)
moved all stream compiling phase to a new file
trex_streams_compiler.cpp
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/ws_main.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/linux/ws_main.py b/linux/ws_main.py
index 00fd3f21..951d89b1 100755
--- a/linux/ws_main.py
+++ b/linux/ws_main.py
@@ -93,11 +93,18 @@ def configure(conf):
bp_sim_main = SrcGroup(dir='src',
src_list=['main.cpp'])
-
+
+bp_sim_gtest = SrcGroup(dir='src',
+ src_list=[
+ 'bp_gtest.cpp',
+ 'gtest/tuple_gen_test.cpp',
+ 'gtest/nat_test.cpp',
+ 'gtest/trex_stateless_gtest.cpp'
+ ])
+
main_src = SrcGroup(dir='src',
src_list=[
'bp_sim.cpp',
- 'bp_gtest.cpp',
'os_time.cpp',
'rx_check.cpp',
'tuple_gen.cpp',
@@ -111,9 +118,6 @@ main_src = SrcGroup(dir='src',
'utl_cpuu.cpp',
'msg_manager.cpp',
- 'gtest/tuple_gen_test.cpp',
- 'gtest/nat_test.cpp',
- 'gtest/trex_stateless_gtest.cpp',
'pal/linux/pal_utl.cpp',
'pal/linux/mbuf.cpp'
@@ -147,6 +151,7 @@ stateless_src = SrcGroup(dir='src/stateless/',
'cp/trex_stream_vm.cpp',
'cp/trex_stateless.cpp',
'cp/trex_stateless_port.cpp',
+ 'cp/trex_streams_compiler.cpp',
'dp/trex_stateless_dp_core.cpp',
'messaging/trex_stateless_messaging.cpp',
])
@@ -230,6 +235,7 @@ bp_hack_for_compile = SrcGroup(dir='/src/stub/',
bp =SrcGroups([
bp_sim_main,
+ bp_sim_gtest,
main_src,
cmn_src ,
net_src ,