git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/test: convert all tests to register system
[dpdk.git]
/
app
/
test
/
test_func_reentrancy.c
diff --git
a/app/test/test_func_reentrancy.c
b/app/test/test_func_reentrancy.c
index
0955b0a
..
45928fa
100644
(file)
--- a/
app/test/test_func_reentrancy.c
+++ b/
app/test/test_func_reentrancy.c
@@
-465,7
+465,7
@@
launch_test(struct test_case *pt_case)
/**
* Main entry of func_reentrancy test
*/
/**
* Main entry of func_reentrancy test
*/
-int
+
static
int
test_func_reentrancy(void)
{
uint32_t case_id;
test_func_reentrancy(void)
{
uint32_t case_id;
@@
-492,3
+492,9
@@
test_func_reentrancy(void)
return 0;
}
return 0;
}
+
+static struct test_command func_reentrancy_cmd = {
+ .command = "func_reentrancy_autotest",
+ .callback = test_func_reentrancy,
+};
+REGISTER_TEST_COMMAND(func_reentrancy_cmd);