Skip to content

Commit e109ac8

Browse files
authored
Arm backend: Remove test name convention and validation (#18492)
It has been decided to remove test name convention because the benefit of it is not worth the maintenance cost. This patch removes test the validation script that was run by the pre-push hook.
1 parent 4afd7f9 commit e109ac8

File tree

5 files changed

+0
-642
lines changed

5 files changed

+0
-642
lines changed

backends/arm/scripts/pre-push

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -302,18 +302,6 @@ for COMMIT in ${COMMITS}; do
302302
fi
303303
fi
304304

305-
# Test name checks
306-
test_files=$(echo $commit_files | grep -oE 'backends/arm/test/\S+')
307-
if [ "$test_files" ]; then
308-
309-
# Check that the test name follows the specified convention
310-
python ./backends/arm/scripts/testname_rules/validate_test_names.py $test_files
311-
if [ $? -ne 0 ]; then
312-
echo -e "${ERROR} Failed op test name check." >&2
313-
FAILED=1
314-
fi
315-
fi
316-
317305
echo "" # Newline to visually separate commit processing
318306
done
319307

backends/arm/scripts/testname_rules/collect_testname_resources.py

Lines changed: 0 additions & 194 deletions
This file was deleted.

backends/arm/scripts/testname_rules/collect_tests.py

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)