version 0.0.1
This commit is contained in:
14
test/libdpdk_dummy/libdpdk_dummy_test.cpp
Normal file
14
test/libdpdk_dummy/libdpdk_dummy_test.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <catch2/catch.hpp>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
|
||||
#include <rte_mbuf.h>
|
||||
#include <rte_mempool.h>
|
||||
|
||||
TEST_CASE("rte_mbuf", "[]") {
|
||||
struct rte_mbuf* mbuf;
|
||||
struct rte_mempool* mempool = nullptr;
|
||||
|
||||
mbuf = rte_pktmbuf_alloc(mempool);
|
||||
CHECK(mbuf != nullptr);
|
||||
}
|
||||
Reference in New Issue
Block a user