From eb56ea4d42ee23e02e6f9f8e8196d676e3a800a5 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 22 Jan 2023 16:58:59 +0000 Subject: [PATCH] Revert "twister: tests: Add unit tests for names of external and module tests" This reverts commit 45e1ff94cdbc395ab9f87d948580cefd585479c5. This is not needed after removal of namespacing. Signed-off-by: Anas Nashif --- scripts/tests/twister/test_testsuite.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/scripts/tests/twister/test_testsuite.py b/scripts/tests/twister/test_testsuite.py index 10100e9f55b..c954208d75a 100644 --- a/scripts/tests/twister/test_testsuite.py +++ b/scripts/tests/twister/test_testsuite.py @@ -104,30 +104,6 @@ TESTDATA_3 = [ 'test_a.check_1.check_2', 'test_a.check_1.check_2' ), - ( - os.path.join(ZEPHYR_BASE, '..', 'module_A', 'samples', 'hello_world'), - os.path.join(ZEPHYR_BASE, '..', 'module_A', 'samples', 'hello_world'), - 'test_c.check_1', - 'module_A/samples/hello_world/test_c.check_1' - ), - ( - os.path.join(ZEPHYR_BASE, '..', 'module_A'), - os.path.join(ZEPHYR_BASE, '..', 'module_A', 'samples', 'hello_world'), - 'test_c.check_2', - 'module_A/samples/hello_world/test_c.check_2' - ), - ( - os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr', 'samples', 'hello_world'), - os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr', 'samples', 'hello_world'), - 'test_c.check_1', - 'external/my_own_zephyr/samples/hello_world/test_c.check_1' - ), - ( - os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr'), - os.path.join(ZEPHYR_BASE, '..', '..', 'my_own_zephyr', 'samples', 'hello_world'), - 'test_c.check_2', - 'external/my_own_zephyr/samples/hello_world/test_c.check_2' - ), ] @pytest.mark.parametrize("testsuite_root, suite_path, name, expected", TESTDATA_3) def test_get_unique(testsuite_root, suite_path, name, expected):