Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-02-22 15:59:02 +0300
committerCampbell Barton <campbell@blender.org>2022-02-22 16:00:32 +0300
commit6bb4c0e498014f6b82401dc2dc91c8031d6f97c8 (patch)
tree46f0a57360157fbc0dd0f6faf35230a169f6cc56 /GNUmakefile
parent4a7559bbcb96a71ad045404d34ba99e0bb4c528c (diff)
GNUmakefile: rename test_depracted to check_deprecated
Also move this utility into the source/tools repo.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile10
1 files changed, 6 insertions, 4 deletions
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" \