This change moves the tests data files and publish folder of assets repository to the main blender.git repository as LFS files. The goal of this change is to eliminate toil of modifying tests, cherry-picking changes to LFS branches, adding tests as part of a PR which brings new features or fixes. More detailed explanation and conversation can be found in the design task. Ref #137215 Pull Request: https://projects.blender.org/blender/blender/pulls/137219
20 lines
362 B
Python
20 lines
362 B
Python
# SPDX-FileCopyrightText: 2024 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Main imports
|
|
import bpy
|
|
import os
|
|
import sys
|
|
|
|
# Get the cycles test directory
|
|
filepath = bpy.data.filepath
|
|
test_dir = os.path.dirname(__file__)
|
|
|
|
# Append to sys.path
|
|
sys.path.append(test_dir)
|
|
|
|
# Import external script and execute
|
|
import test_utils
|
|
test_utils.main()
|