diff --git a/tests/hw/libnux/test_hwsimtests_vx_v2.py b/tests/hw/libnux/test_hwsimtests_vx_v2.py index 502a8468b291dfb02d7ec0fb3625704931172714..9390758a5b2ff194f60e08600466f1c87445416f 100644 --- a/tests/hw/libnux/test_hwsimtests_vx_v2.py +++ b/tests/hw/libnux/test_hwsimtests_vx_v2.py @@ -87,7 +87,8 @@ class LibnuxHwSimTestsVx(unittest.TestCase): setattr(LibnuxHwSimTestsVx, test.name, test_method) -LibnuxHwSimTestsVx.TESTS.update(get_special_binaries("vx", "v2")) +LibnuxHwSimTestsVx.TESTS.update( + get_special_binaries("vx", "v2").intersection(find_binaries("vx", "v2"))) LibnuxHwSimTestsVx.TESTS.update(find_binaries("vx", "v2")) LibnuxHwSimTestsVx.generate_cases() diff --git a/tests/hw/libnux/test_hwsimtests_vx_v3.py b/tests/hw/libnux/test_hwsimtests_vx_v3.py index 42b0faa28e5b215613dfe4fe60e3251732f9b93c..0f13cba3d7c4e303a119a71c9a6561b2a16e2022 100644 --- a/tests/hw/libnux/test_hwsimtests_vx_v3.py +++ b/tests/hw/libnux/test_hwsimtests_vx_v3.py @@ -87,7 +87,8 @@ class LibnuxHwSimTestsVx(unittest.TestCase): setattr(LibnuxHwSimTestsVx, test.name, test_method) -LibnuxHwSimTestsVx.TESTS.update(get_special_binaries("vx", "v3")) +LibnuxHwSimTestsVx.TESTS.update( + get_special_binaries("vx", "v3").intersection(find_binaries("vx", "v3"))) LibnuxHwSimTestsVx.TESTS.update(find_binaries("vx", "v3")) LibnuxHwSimTestsVx.generate_cases()