summaryrefslogtreecommitdiffstats
path: root/src/gtest
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtest')
-rw-r--r--src/gtest/trex_stateless_gtest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gtest/trex_stateless_gtest.cpp b/src/gtest/trex_stateless_gtest.cpp
index d758ea7e..88c68095 100644
--- a/src/gtest/trex_stateless_gtest.cpp
+++ b/src/gtest/trex_stateless_gtest.cpp
@@ -805,7 +805,7 @@ static void vm_build_program_seq(StreamVm & vm,
);
- vm.set_packet_size(128);
+ vm.set_packet_size(packet_size);
vm.compile_next();
}
@@ -2050,8 +2050,6 @@ TEST_F(basic_stl, vm_enable0) {
streams.push_back(stream1);
// stream - clean
-
-
std::vector<TrexStreamsCompiledObj *> objs;
assert(compile.compile(port_id,streams, objs) );