From 6bb4c0e498014f6b82401dc2dc91c8031d6f97c8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 22 Feb 2022 23:59:02 +1100 Subject: GNUmakefile: rename test_depracted to check_deprecated Also move this utility into the source/tools repo. --- GNUmakefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index b100bf9290e..f3c03606be8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -65,6 +65,7 @@ Static Source Code Checking * check_cppcheck: Run blender source through cppcheck (C & C++). * check_clang_array: Run blender source through clang array checking script (C & C++). + * check_deprecated: Check if there is any deprecated code to remove. * check_splint: Run blenders source through splint (C only). * check_sparse: Run blenders source through sparse (C only). * check_smatch: Run blenders source through smatch (C only). @@ -410,10 +411,6 @@ test_cmake: .FORCE @$(PYTHON) build_files/cmake/cmake_consistency_check.py > test_cmake_consistency.log 2>&1 @echo "written: test_cmake_consistency.log" -# run deprecation tests, see if we have anything to remove. -test_deprecated: .FORCE - @$(PYTHON) tests/check_deprecated.py - # ----------------------------------------------------------------------------- # Project Files @@ -491,6 +488,11 @@ check_descriptions: .FORCE @$(BLENDER_BIN) --background -noaudio --factory-startup --python \ "$(BLENDER_DIR)/source/tools/check_source/check_descriptions.py" +# run deprecation tests, see if we have anything to remove. +check_deprecated: .FORCE + @PYTHONIOENCODING=utf_8 $(PYTHON) \ + source/tools/check_source/check_deprecated.py + check_licenses: .FORCE @PYTHONIOENCODING=utf_8 $(PYTHON) \ "$(BLENDER_DIR)/source/tools/check_source/check_licenses.py" \ -- cgit v1.2.3