From dec883e21b37867b279de29e0573897ca87c0e82 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 20 Jun 2020 09:28:19 +0300 Subject: [PATCH] Check for tests with "fail" in their names --- ...ce => 01318_long_unsuccessful_mutation_zookeeper.reference} | 0 ...keeper.sh => 01318_long_unsuccessful_mutation_zookeeper.sh} | 0 utils/check-style/check-style | 3 +++ 3 files changed, 3 insertions(+) rename tests/queries/0_stateless/{01318_long_failing_mutation_zookeeper.reference => 01318_long_unsuccessful_mutation_zookeeper.reference} (100%) rename tests/queries/0_stateless/{01318_long_failing_mutation_zookeeper.sh => 01318_long_unsuccessful_mutation_zookeeper.sh} (100%) diff --git a/tests/queries/0_stateless/01318_long_failing_mutation_zookeeper.reference b/tests/queries/0_stateless/01318_long_unsuccessful_mutation_zookeeper.reference similarity index 100% rename from tests/queries/0_stateless/01318_long_failing_mutation_zookeeper.reference rename to tests/queries/0_stateless/01318_long_unsuccessful_mutation_zookeeper.reference diff --git a/tests/queries/0_stateless/01318_long_failing_mutation_zookeeper.sh b/tests/queries/0_stateless/01318_long_unsuccessful_mutation_zookeeper.sh similarity index 100% rename from tests/queries/0_stateless/01318_long_failing_mutation_zookeeper.sh rename to tests/queries/0_stateless/01318_long_unsuccessful_mutation_zookeeper.sh diff --git a/utils/check-style/check-style b/utils/check-style/check-style index 2a2e9dab42d..a42f68225bb 100755 --- a/utils/check-style/check-style +++ b/utils/check-style/check-style @@ -59,3 +59,6 @@ find $ROOT_PATH/{src,base,programs,utils} -name '*.xml' | xargs xmllint --noout # Machine translation to Russian is strictly prohibited find $ROOT_PATH/docs/ru -name '*.md' | xargs grep -l -F 'machine_translated: true' + +# Tests should not be named with "fail" in their names. It makes looking at the results less convenient. +find $ROOT_PATH/tests/queries -iname '*fail*' | grep . && echo 'Tests should not be named with "fail" in their names. It makes looking at the results less convenient when you search for "fail" substring in browser.'