test: remove POSIX-specific code
authorJie Zhou <jizh@linux.microsoft.com>
Wed, 26 Jan 2022 05:10:35 +0000 (21:10 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Feb 2022 13:19:40 +0000 (14:19 +0100)
commit987d40a0576006a2496433aea75c1f2bffa72c93
tree1fc6058734f238deee3b310c22eb1287f30604b4
parent7e71c4dce375b8aa575dbdcda97936199a4136f3
test: remove POSIX-specific code

- Replace POSIX-specific code with DPDK equivalents or
  conditionally disable it on Windows
- Use NUL on Windows as /dev/null for Unix
- Exclude tests not supported on Windows yet
  * multi-process
  * PMD performance statistics display on signal

Signed-off-by: Jie Zhou <jizh@linux.microsoft.com>
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
12 files changed:
app/test/commands.c
app/test/packet_burst_generator.c
app/test/process.h
app/test/test.c
app/test/test_byteorder.c
app/test/test_cmdline_ipaddr.c
app/test/test_cmdline_lib.c
app/test/test_crc.c
app/test/test_memcpy_perf.c
app/test/test_pmd_perf.c
app/test/test_ring_stress_impl.h
app/test/test_telemetry_data.c