1425bb815Sopenharmony_cidiff --git a/tools/packaging/test262.py b/tools/packaging/test262.py 2425bb815Sopenharmony_ciindex 921360a05e..27a2938e48 100755 3425bb815Sopenharmony_ci--- a/tools/packaging/test262.py 4425bb815Sopenharmony_ci+++ b/tools/packaging/test262.py 5425bb815Sopenharmony_ci@@ -469,8 +469,8 @@ class TestSuite(object): 6425bb815Sopenharmony_ci if self.ShouldRun(rel_path, tests): 7425bb815Sopenharmony_ci basename = path.basename(full_path)[:-3] 8425bb815Sopenharmony_ci name = rel_path.split(path.sep)[:-1] + [basename] 9425bb815Sopenharmony_ci- if EXCLUDE_LIST.count(basename) >= 1: 10425bb815Sopenharmony_ci- print 'Excluded: ' + basename 11425bb815Sopenharmony_ci+ if rel_path in EXCLUDE_LIST: 12425bb815Sopenharmony_ci+ print 'Excluded: ' + rel_path 13425bb815Sopenharmony_ci else: 14425bb815Sopenharmony_ci if not self.non_strict_only: 15425bb815Sopenharmony_ci strict_case = TestCase(self, name, full_path, True) 16