From c4ad92e458f51ce849baed3b628fbd2f43303ace Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 10 Sep 2017 13:19:08 +0100 Subject: [PATCH] Move scripts for tests into the test directory, and do not export the Batch script for running tests --- .gitattributes | 3 +-- run-tests | 4 ++-- .../script/check-supported-tools-tables | 0 custom-checks => test/script/custom-checks | 0 4 files changed, 3 insertions(+), 4 deletions(-) rename check-supported-tools-tables => test/script/check-supported-tools-tables (100%) rename custom-checks => test/script/custom-checks (100%) diff --git a/.gitattributes b/.gitattributes index 27cbcff5..05b1f3f0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,8 +6,7 @@ /Makefile export-ignore /PULL_REQUEST_TEMPLATE.md export-ignore /README.md export-ignore -/check-supported-tools-tables export-ignore -/custom-checks export-ignore /img export-ignore /run-tests export-ignore +/run-tests.bat export-ignore /test export-ignore diff --git a/run-tests b/run-tests index 5b49b3e9..c58e7aa3 100755 --- a/run-tests +++ b/run-tests @@ -209,7 +209,7 @@ if ((run_custom_checks)); then echo set -o pipefail - docker run -a stdout "${DOCKER_FLAGS[@]}" ./custom-checks . || EXIT=$? + docker run -a stdout "${DOCKER_FLAGS[@]}" test/script/custom-checks . || EXIT=$? set +o pipefail echo @@ -242,7 +242,7 @@ if ((run_custom_checks)); then echo 'Differences follow:' echo - ./check-supported-tools-tables || EXIT=$? + test/script/check-supported-tools-tables || EXIT=$? echo '========================================' echo 'Look for badly aligned doc tags' diff --git a/check-supported-tools-tables b/test/script/check-supported-tools-tables similarity index 100% rename from check-supported-tools-tables rename to test/script/check-supported-tools-tables diff --git a/custom-checks b/test/script/custom-checks similarity index 100% rename from custom-checks rename to test/script/custom-checks