X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_fib6_perf.c;h=21d2b65318e961848f1c75b0d2e85a2d680c3ab5;hb=42902e810d34038754535cd0883e3621d16f34ae;hp=e565799155d9f06b3a351a606671c5cf973bb782;hpb=11c5b9b51a18396c73556031d55c32cc9c80045b;p=dpdk.git diff --git a/app/test/test_fib6_perf.c b/app/test/test_fib6_perf.c index e565799155..21d2b65318 100644 --- a/app/test/test_fib6_perf.c +++ b/app/test/test_fib6_perf.c @@ -10,9 +10,21 @@ #include #include #include -#include #include "test.h" + +#ifdef RTE_EXEC_ENV_WINDOWS +static int +test_fib6_perf(void) +{ + printf("fib6_perf not supported on Windows, skipping test\n"); + return TEST_SKIPPED; +} + +#else + +#include + #include "test_lpm6_data.h" #define TEST_FIB_ASSERT(cond) do { \ @@ -155,4 +167,6 @@ test_fib6_perf(void) return 0; } +#endif /*ifdef RTE_EXEC_ENV_WINDOWS*/ + REGISTER_TEST_COMMAND(fib6_perf_autotest, test_fib6_perf);