diff --git a/GNUmakefile b/GNUmakefile index 0ab8c7572e0..881fcc076c6 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -535,7 +535,7 @@ check_spelling_shaders: .FORCE "$(BLENDER_DIR)/source/" check_descriptions: .FORCE - @$(BLENDER_BIN) --background -noaudio --factory-startup --python \ + @$(BLENDER_BIN) --background --factory-startup --python \ "$(BLENDER_DIR)/tools/check_source/check_descriptions.py" check_deprecated: .FORCE @@ -598,7 +598,7 @@ format: .FORCE doc_py: .FORCE @ASAN_OPTIONS=halt_on_error=0:${ASAN_OPTIONS} \ $(BLENDER_BIN) \ - --background -noaudio --factory-startup \ + --background --factory-startup \ --python doc/python_api/sphinx_doc_gen.py @sphinx-build -b html -j $(NPROCS) doc/python_api/sphinx-in doc/python_api/sphinx-out @echo "docs written into: '$(BLENDER_DIR)/doc/python_api/sphinx-out/index.html'" @@ -609,7 +609,7 @@ doc_doxy: .FORCE doc_dna: .FORCE @$(BLENDER_BIN) \ - --background -noaudio --factory-startup \ + --background --factory-startup \ --python doc/blender_file_format/BlendFileDnaExporter_25.py @echo "docs written into: '$(BLENDER_DIR)/doc/blender_file_format/dna.html'" diff --git a/build_files/windows/doc_py.cmd b/build_files/windows/doc_py.cmd index d33a0289083..d09c348d997 100644 --- a/build_files/windows/doc_py.cmd +++ b/build_files/windows/doc_py.cmd @@ -26,7 +26,7 @@ exit /b 1 :detect_blender_done %BLENDER_BIN% ^ - --background -noaudio --factory-startup ^ + --background --factory-startup ^ --python %BLENDER_DIR%/doc/python_api/sphinx_doc_gen.py "%SPHINX_BIN%" -b html %SPHINXOPTS% %O% %SOURCEDIR% %BUILDDIR% diff --git a/doc/blender_file_format/BlendFileDnaExporter_25.py b/doc/blender_file_format/BlendFileDnaExporter_25.py index 6aabbdc22b0..f51ecf5c8a4 100755 --- a/doc/blender_file_format/BlendFileDnaExporter_25.py +++ b/doc/blender_file_format/BlendFileDnaExporter_25.py @@ -363,15 +363,15 @@ class DNACatalogHTML: def usage(): - print("\nUsage: \n\tblender2.5 --background -noaudio --python BlendFileDnaExporter_25.py [-- [options]]") + print("\nUsage: \n\tblender2.5 --background --python BlendFileDnaExporter_25.py [-- [options]]") print("Options:") print("\t--dna-keep-blend: doesn't delete the produced blend file DNA export to html") print("\t--dna-debug: sets the logging level to DEBUG (lots of additional info)") print("\t--dna-versioned saves version information in the html and blend filenames") print("\t--dna-overwrite-css overwrite dna.css, useful when modifying css in the script") print("Examples:") - print("\tdefault: % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py") - print("\twith options: % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug\n") + print("\tdefault: % blender2.5 --background --python BlendFileDnaExporter_25.py") + print("\twith options: % blender2.5 --background --python BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug\n") ###################################################### diff --git a/doc/blender_file_format/README b/doc/blender_file_format/README index 531756eb34a..25bb189d980 100644 --- a/doc/blender_file_format/README +++ b/doc/blender_file_format/README @@ -16,14 +16,14 @@ Below you have the help message with a list of options you can use. Usage: - blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py [-- [options]] + blender2.5 --background --python BlendFileDnaExporter_25.py [-- [options]] Options: --dna-keep-blend: doesn't delete the produced blend file DNA export to html --dna-debug: sets the logging level to DEBUG (lots of additional info) --dna-versioned saves version information in the html and blend filenames --dna-overwrite-css overwrite dna.css, useful when modifying css in the script Examples: - default: % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py - with options: % blender2.5 --background -noaudio --python BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug + default: % blender2.5 --background --python BlendFileDnaExporter_25.py + with options: % blender2.5 --background --python BlendFileDnaExporter_25.py -- --dna-keep-blend --dna-debug diff --git a/doc/python_api/rst/include__bmesh.rst b/doc/python_api/rst/include__bmesh.rst index e8cd23e41da..e42255424fd 100644 --- a/doc/python_api/rst/include__bmesh.rst +++ b/doc/python_api/rst/include__bmesh.rst @@ -1,7 +1,7 @@ .. This document is appended to the auto generated BMesh API doc to avoid clogging up the C files with details. to test this run: - ./blender.bin -b -noaudio -P doc/python_api/sphinx_doc_gen.py -- \ + ./blender.bin -b -P doc/python_api/sphinx_doc_gen.py -- \ --partial bmesh* ; cd doc/python_api ; sphinx-build sphinx-in sphinx-out ; cd ../../ diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 0a7702bf09c..637a1c7ffa9 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -7,7 +7,7 @@ API dump in RST files --------------------- Run this script from Blender's root path once you have compiled Blender - blender --background --factory-startup -noaudio --python doc/python_api/sphinx_doc_gen.py + blender --background --factory-startup --python doc/python_api/sphinx_doc_gen.py This will generate python files in doc/python_api/sphinx-in/ providing ./blender is or links to the blender executable @@ -239,12 +239,12 @@ BPY_LOGGER.setLevel(logging.DEBUG) """ # for quick rebuilds rm -rf /b/doc/python_api/sphinx-* && \ -./blender -b -noaudio --factory-startup -P doc/python_api/sphinx_doc_gen.py && \ +./blender -b --factory-startup -P doc/python_api/sphinx_doc_gen.py && \ sphinx-build doc/python_api/sphinx-in doc/python_api/sphinx-out or -./blender -b -noaudio --factory-startup -P doc/python_api/sphinx_doc_gen.py -- -f -B +./blender -b --factory-startup -P doc/python_api/sphinx_doc_gen.py -- -f -B """ # Switch for quick testing so doc-builds don't take so long. diff --git a/release/datafiles/blender_icons_geom_update.py b/release/datafiles/blender_icons_geom_update.py index fb6a1d4cf84..e6f6729bdcf 100755 --- a/release/datafiles/blender_icons_geom_update.py +++ b/release/datafiles/blender_icons_geom_update.py @@ -76,7 +76,7 @@ for blend in icons_blend: output_dir = os.path.join(BASEDIR, "icons") files_old = set(names_and_time_from_path(output_dir)) cmd = ( - blender_bin, "--background", "--factory-startup", "-noaudio", + blender_bin, "--background", "--factory-startup", blend, "--python", os.path.join(BASEDIR, "blender_icons_geom.py"), "--", diff --git a/release/datafiles/blender_icons_update.py b/release/datafiles/blender_icons_update.py index 87fef1c552f..397aaa93749 100755 --- a/release/datafiles/blender_icons_update.py +++ b/release/datafiles/blender_icons_update.py @@ -71,7 +71,7 @@ datatoc_icon_split_py = os.path.join(BASEDIR, "..", "..", "source", "blender", " # create .dat pixmaps (which are stored in git) cmd = ( - blender_bin, "--background", "--factory-startup", "-noaudio", + blender_bin, "--background", "--factory-startup", "--python", datatoc_icon_split_py, "--", "--image=" + os.path.join(BASEDIR, "blender_icons16.png"), "--output=" + os.path.join(BASEDIR, "blender_icons16"), @@ -85,7 +85,7 @@ cmd = ( run(cmd, env=env) cmd = ( - blender_bin, "--background", "--factory-startup", "-noaudio", + blender_bin, "--background", "--factory-startup", "--python", datatoc_icon_split_py, "--", "--image=" + os.path.join(BASEDIR, "blender_icons32.png"), "--output=" + os.path.join(BASEDIR, "blender_icons32"), diff --git a/scripts/startup/bl_operators/file.py b/scripts/startup/bl_operators/file.py index db1348a5a28..53944292ed2 100644 --- a/scripts/startup/bl_operators/file.py +++ b/scripts/startup/bl_operators/file.py @@ -105,7 +105,6 @@ class WM_OT_previews_batch_generate(Operator): bpy.app.binary_path, "--background", "--factory-startup", - "-noaudio", ] if self.use_trusted: cmd.append("--enable-autoexec") @@ -215,7 +214,6 @@ class WM_OT_previews_batch_clear(Operator): bpy.app.binary_path, "--background", "--factory-startup", - "-noaudio", ] if self.use_trusted: cmd.append("--enable-autoexec") diff --git a/source/blender/datatoc/datatoc_icon_split.py b/source/blender/datatoc/datatoc_icon_split.py index dea590acc97..73900e1f117 100755 --- a/source/blender/datatoc/datatoc_icon_split.py +++ b/source/blender/datatoc/datatoc_icon_split.py @@ -8,7 +8,7 @@ This script dices up PNG into small files to store in version control. Example: ./blender.bin \ - --background -noaudio \ + --background \ --python ./release/datafiles/icon_dice.py -- \ --image=./release/datafiles/blender_icons16.png \ --output=./release/datafiles/blender_icons16 diff --git a/source/blender/makesrna/rna_cleanup/rna_cleaner.py b/source/blender/makesrna/rna_cleanup/rna_cleaner.py index aee502ca3e6..b5e41a82771 100755 --- a/source/blender/makesrna/rna_cleanup/rna_cleaner.py +++ b/source/blender/makesrna/rna_cleanup/rna_cleaner.py @@ -11,7 +11,7 @@ Typical line in the input file (elements in [] are optional). [comment *] ToolSettings.snap_align_rotation -> use_snap_align_rotation: boolean [Align rotation with the snapping target] Geterate output format from blender run this: - ./blender.bin --background -noaudio --python ./scripts/modules/rna_info.py 2> source/blender/makesrna/rna_cleanup/out.txt + ./blender.bin --background --python ./scripts/modules/rna_info.py 2> source/blender/makesrna/rna_cleanup/out.txt """ diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f8dd0c73c0f..ca76889ffd2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -53,7 +53,7 @@ endif() # Standard Blender arguments for running tests. # Specify exit code so that if a Python script error happens, the test fails. -set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --debug-memory --debug-exit-on-error --python-exit-code 1) +set(TEST_BLENDER_EXE_PARAMS --background --factory-startup --debug-memory --debug-exit-on-error --python-exit-code 1) # Python CTests if(WITH_BLENDER AND WITH_PYTHON AND NOT WITH_PYTHON_MODULE) diff --git a/tests/python/bl_alembic_io_test.py b/tests/python/bl_alembic_io_test.py index dc8e596fb84..dc9d5f7e092 100644 --- a/tests/python/bl_alembic_io_test.py +++ b/tests/python/bl_alembic_io_test.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later """ -./blender.bin --background -noaudio --factory-startup --python tests/python/bl_alembic_io_test.py -- --testdir /path/to/lib/tests/alembic +./blender.bin --background --factory-startup --python tests/python/bl_alembic_io_test.py -- --testdir /path/to/lib/tests/alembic """ import math diff --git a/tests/python/bl_animation_armature.py b/tests/python/bl_animation_armature.py index 53bcbe4a9db..ce71aef4ed4 100644 --- a/tests/python/bl_animation_armature.py +++ b/tests/python/bl_animation_armature.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later """ -blender -b -noaudio --factory-startup --python tests/python/bl_animation_armature.py +blender -b --factory-startup --python tests/python/bl_animation_armature.py """ import unittest diff --git a/tests/python/bl_animation_drivers.py b/tests/python/bl_animation_drivers.py index caca840f194..f47c3f20620 100644 --- a/tests/python/bl_animation_drivers.py +++ b/tests/python/bl_animation_drivers.py @@ -9,7 +9,7 @@ import sys from rna_prop_ui import rna_idprop_quote_path """ -blender -b -noaudio --factory-startup --python tests/python/bl_animation_drivers.py -- --testdir /path/to/lib/tests/animation +blender -b --factory-startup --python tests/python/bl_animation_drivers.py -- --testdir /path/to/lib/tests/animation """ diff --git a/tests/python/bl_animation_fcurves.py b/tests/python/bl_animation_fcurves.py index 0febdd48c06..d4370bccc34 100644 --- a/tests/python/bl_animation_fcurves.py +++ b/tests/python/bl_animation_fcurves.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later """ -blender -b -noaudio --factory-startup --python tests/python/bl_animation_fcurves.py -- --testdir /path/to/lib/tests/animation +blender -b --factory-startup --python tests/python/bl_animation_fcurves.py -- --testdir /path/to/lib/tests/animation """ import pathlib diff --git a/tests/python/bl_animation_keyframing.py b/tests/python/bl_animation_keyframing.py index eeadba36216..9694f9df0f3 100644 --- a/tests/python/bl_animation_keyframing.py +++ b/tests/python/bl_animation_keyframing.py @@ -9,7 +9,7 @@ import sys from math import radians """ -blender -b -noaudio --factory-startup --python tests/python/bl_animation_keyframing.py -- --testdir /path/to/lib/tests/animation +blender -b --factory-startup --python tests/python/bl_animation_keyframing.py -- --testdir /path/to/lib/tests/animation """ diff --git a/tests/python/bl_blendfile_io.py b/tests/python/bl_blendfile_io.py index 32de9a4da14..0f1a738b702 100644 --- a/tests/python/bl_blendfile_io.py +++ b/tests/python/bl_blendfile_io.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_blendfile_io.py +# ./blender.bin --background --python tests/python/bl_blendfile_io.py import bpy import os import sys diff --git a/tests/python/bl_blendfile_liblink.py b/tests/python/bl_blendfile_liblink.py index 6f058155c33..9b8efe4fccf 100644 --- a/tests/python/bl_blendfile_liblink.py +++ b/tests/python/bl_blendfile_liblink.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_blendfile_liblink.py +# ./blender.bin --background --python tests/python/bl_blendfile_liblink.py import bpy import os import sys diff --git a/tests/python/bl_blendfile_library_overrides.py b/tests/python/bl_blendfile_library_overrides.py index 26ccacd6259..d3f987d39e6 100644 --- a/tests/python/bl_blendfile_library_overrides.py +++ b/tests/python/bl_blendfile_library_overrides.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_blendfile_library_overrides.py -- --output-dir=/tmp/ +# ./blender.bin --background --python tests/python/bl_blendfile_library_overrides.py -- --output-dir=/tmp/ import pathlib import bpy import sys diff --git a/tests/python/bl_blendfile_versioning.py b/tests/python/bl_blendfile_versioning.py index d704f8c7cb8..85eb2343ddc 100644 --- a/tests/python/bl_blendfile_versioning.py +++ b/tests/python/bl_blendfile_versioning.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_blendfile_versioning.py .. +# ./blender.bin --background --python tests/python/bl_blendfile_versioning.py .. import bpy import os import sys diff --git a/tests/python/bl_constraints.py b/tests/python/bl_constraints.py index 92f2548c4cb..59d227e4fc7 100644 --- a/tests/python/bl_constraints.py +++ b/tests/python/bl_constraints.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later """ -./blender.bin --background -noaudio --factory-startup --python tests/python/bl_constraints.py -- --testdir /path/to/lib/tests/constraints +./blender.bin --background --factory-startup --python tests/python/bl_constraints.py -- --testdir /path/to/lib/tests/constraints """ import pathlib diff --git a/tests/python/bl_id_management.py b/tests/python/bl_id_management.py index f7f436c7338..4f57dcb3796 100644 --- a/tests/python/bl_id_management.py +++ b/tests/python/bl_id_management.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_id_management.py -- --verbose +# ./blender.bin --background --python tests/python/bl_id_management.py -- --verbose import bpy import unittest import random diff --git a/tests/python/bl_io_curve_svg_test.py b/tests/python/bl_io_curve_svg_test.py index f0f89cfb263..461829db049 100644 --- a/tests/python/bl_io_curve_svg_test.py +++ b/tests/python/bl_io_curve_svg_test.py @@ -15,7 +15,6 @@ def get_arguments(filepath, output_filepath): args = [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/bl_keymap_validate.py b/tests/python/bl_keymap_validate.py index 9d85a8a7db4..3b31a730a1b 100644 --- a/tests/python/bl_keymap_validate.py +++ b/tests/python/bl_keymap_validate.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: GPL-2.0-or-later -# ./blender.bin --background -noaudio --factory-startup --python tests/python/bl_keymap_validate.py +# ./blender.bin --background --factory-startup --python tests/python/bl_keymap_validate.py # """ diff --git a/tests/python/bl_load_addons.py b/tests/python/bl_load_addons.py index 8517c799511..1980e9354a6 100644 --- a/tests/python/bl_load_addons.py +++ b/tests/python/bl_load_addons.py @@ -5,7 +5,7 @@ # simple script to enable all addons, and disable """ -./blender.bin --background -noaudio --factory-startup --python tests/python/bl_load_addons.py +./blender.bin --background --factory-startup --python tests/python/bl_load_addons.py """ import bpy diff --git a/tests/python/bl_load_py_modules.py b/tests/python/bl_load_py_modules.py index 4521e35fcaf..6162c4264b5 100644 --- a/tests/python/bl_load_py_modules.py +++ b/tests/python/bl_load_py_modules.py @@ -5,7 +5,7 @@ # simple script to enable all addons, and disable """ -./blender.bin --background -noaudio --factory-startup --python tests/python/bl_load_py_modules.py +./blender.bin --background --factory-startup --python tests/python/bl_load_py_modules.py """ import bpy diff --git a/tests/python/bl_pyapi_bpy_driver_secure_eval.py b/tests/python/bl_pyapi_bpy_driver_secure_eval.py index b6c84eb2f35..79d460e7b2a 100644 --- a/tests/python/bl_pyapi_bpy_driver_secure_eval.py +++ b/tests/python/bl_pyapi_bpy_driver_secure_eval.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: GPL-2.0-or-later -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_bpy_driver_secure_eval.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_bpy_driver_secure_eval.py -- --verbose import bpy import unittest import builtins diff --git a/tests/python/bl_pyapi_bpy_path.py b/tests/python/bl_pyapi_bpy_path.py index ac969fb5d10..3611641bd1e 100644 --- a/tests/python/bl_pyapi_bpy_path.py +++ b/tests/python/bl_pyapi_bpy_path.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_bpy_path.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_bpy_path.py -- --verbose import unittest diff --git a/tests/python/bl_pyapi_bpy_utils_units.py b/tests/python/bl_pyapi_bpy_utils_units.py index ab86b22fab9..71e00a23982 100644 --- a/tests/python/bl_pyapi_bpy_utils_units.py +++ b/tests/python/bl_pyapi_bpy_utils_units.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_bpy_utils_units.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_bpy_utils_units.py -- --verbose import unittest from bpy.utils import units diff --git a/tests/python/bl_pyapi_idprop.py b/tests/python/bl_pyapi_idprop.py index 41881884cc2..9f6b2216770 100644 --- a/tests/python/bl_pyapi_idprop.py +++ b/tests/python/bl_pyapi_idprop.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_idprop.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_idprop.py -- --verbose import bpy import idprop import unittest diff --git a/tests/python/bl_pyapi_idprop_datablock.py b/tests/python/bl_pyapi_idprop_datablock.py index 2f333c76df3..8f3072988d9 100644 --- a/tests/python/bl_pyapi_idprop_datablock.py +++ b/tests/python/bl_pyapi_idprop_datablock.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: GPL-2.0-or-later -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_idprop_datablock.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_idprop_datablock.py -- --verbose import contextlib import inspect diff --git a/tests/python/bl_pyapi_mathutils.py b/tests/python/bl_pyapi_mathutils.py index be75e57ef44..d6bbe1ff0a4 100644 --- a/tests/python/bl_pyapi_mathutils.py +++ b/tests/python/bl_pyapi_mathutils.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_mathutils.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_mathutils.py -- --verbose import unittest from mathutils import Matrix, Vector, Quaternion, Euler from mathutils import kdtree, geometry diff --git a/tests/python/bl_pyapi_prop_array.py b/tests/python/bl_pyapi_prop_array.py index d91fd8bbaac..30262ae16bc 100644 --- a/tests/python/bl_pyapi_prop_array.py +++ b/tests/python/bl_pyapi_prop_array.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_prop_array.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_prop_array.py -- --verbose import bpy from bpy.props import ( BoolVectorProperty, diff --git a/tests/python/bl_pyapi_text.py b/tests/python/bl_pyapi_text.py index f67b267ecb6..c2d05be48e3 100644 --- a/tests/python/bl_pyapi_text.py +++ b/tests/python/bl_pyapi_text.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --python tests/python/bl_pyapi_text.py -- --verbose +# ./blender.bin --background --python tests/python/bl_pyapi_text.py -- --verbose import bpy import unittest diff --git a/tests/python/bl_rigging_symmetrize.py b/tests/python/bl_rigging_symmetrize.py index ea0202caa1b..4070136a505 100644 --- a/tests/python/bl_rigging_symmetrize.py +++ b/tests/python/bl_rigging_symmetrize.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later """ -blender -b -noaudio --factory-startup --python tests/python/bl_rigging_symmetrize.py -- --testdir /path/to/lib/tests/animation +blender -b --factory-startup --python tests/python/bl_rigging_symmetrize.py -- --testdir /path/to/lib/tests/animation """ import pathlib diff --git a/tests/python/bl_rna_defaults.py b/tests/python/bl_rna_defaults.py index 94663c7be08..b027b3d0871 100644 --- a/tests/python/bl_rna_defaults.py +++ b/tests/python/bl_rna_defaults.py @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: Apache-2.0 -# ./blender.bin --background -noaudio --factory-startup --python tests/python/bl_rna_defaults.py +# ./blender.bin --background --factory-startup --python tests/python/bl_rna_defaults.py import bpy diff --git a/tests/python/bl_rna_manual_reference.py b/tests/python/bl_rna_manual_reference.py index c384a63f1b4..9641e30da8a 100644 --- a/tests/python/bl_rna_manual_reference.py +++ b/tests/python/bl_rna_manual_reference.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Use for validating our manual interlinking. -# ./blender.bin --background -noaudio --python tests/python/bl_rna_manual_reference.py +# ./blender.bin --background --python tests/python/bl_rna_manual_reference.py # # 1) test_data() -- ensure the data we have is correct format # 2) test_lookup_coverage() -- ensure that we have lookups for _every_ RNA path and all patterns are used. diff --git a/tests/python/bl_rst_completeness.py b/tests/python/bl_rst_completeness.py index c6153011429..cb4406bae51 100644 --- a/tests/python/bl_rst_completeness.py +++ b/tests/python/bl_rst_completeness.py @@ -4,7 +4,7 @@ # run this script in the game engine. # or on the command line with... -# ./blender.bin --background -noaudio --python tests/python/bl_rst_completeness.py +# ./blender.bin --background --python tests/python/bl_rst_completeness.py ''' filepath = "/src/blender/tests/python/bl_rst_completeness.py" exec(compile(open(filepath).read(), filepath, 'exec')) diff --git a/tests/python/collada/CMakeLists.txt b/tests/python/collada/CMakeLists.txt index 17c85f730d2..d20be3d7b54 100644 --- a/tests/python/collada/CMakeLists.txt +++ b/tests/python/collada/CMakeLists.txt @@ -23,12 +23,12 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TEST_OUT_DIR}) # all calls to blender use this if(APPLE) if(${CMAKE_GENERATOR} MATCHES "Xcode") - set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --debug-memory --debug-exit-on-error) + set(TEST_BLENDER_EXE_PARAMS --background --factory-startup --debug-memory --debug-exit-on-error) else() - set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/scripts) + set(TEST_BLENDER_EXE_PARAMS --background --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/scripts) endif() else() - set(TEST_BLENDER_EXE_PARAMS --background -noaudio --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/scripts) + set(TEST_BLENDER_EXE_PARAMS --background --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/scripts) endif() # for testing with valgrind prefix: valgrind --track-origins=yes --error-limit=no diff --git a/tests/python/compositor_cpu_render_tests.py b/tests/python/compositor_cpu_render_tests.py index 55501eafcad..d9abae801fd 100644 --- a/tests/python/compositor_cpu_render_tests.py +++ b/tests/python/compositor_cpu_render_tests.py @@ -19,7 +19,6 @@ except ImportError: def get_arguments(filepath, output_filepath): return [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/compositor_realtime_render_tests.py b/tests/python/compositor_realtime_render_tests.py index d244cbe39ab..aae9253bd95 100644 --- a/tests/python/compositor_realtime_render_tests.py +++ b/tests/python/compositor_realtime_render_tests.py @@ -23,7 +23,6 @@ ENABLE_REALTIME_COMPOSITOR_SCRIPT = "import bpy; " \ def get_arguments(filepath, output_filepath): return [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py index 043c9494c21..47c02e4e40b 100644 --- a/tests/python/cycles_render_tests.py +++ b/tests/python/cycles_render_tests.py @@ -68,7 +68,6 @@ def get_arguments(filepath, output_filepath): args = [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/eevee_next_render_tests.py b/tests/python/eevee_next_render_tests.py index 019b187aa7d..ec4fc26e1f5 100644 --- a/tests/python/eevee_next_render_tests.py +++ b/tests/python/eevee_next_render_tests.py @@ -84,7 +84,6 @@ def get_gpu_device_type(blender): # TODO: This always fails. command = [ blender, - "-noaudio", "--background", "--factory-startup", "--python", @@ -104,7 +103,6 @@ def get_gpu_device_type(blender): def get_arguments(filepath, output_filepath): return [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/eevee_render_tests.py b/tests/python/eevee_render_tests.py index 9b1c65f0c47..bb37cb96e22 100644 --- a/tests/python/eevee_render_tests.py +++ b/tests/python/eevee_render_tests.py @@ -103,7 +103,6 @@ if inside_blender: def get_gpu_device_type(blender): command = [ blender, - "-noaudio", "--background", "--factory-startup", "--python", @@ -123,7 +122,6 @@ def get_gpu_device_type(blender): def get_arguments(filepath, output_filepath): return [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/modules/test_utils.py b/tests/python/modules/test_utils.py index fa7b3a26f19..32c9102120e 100755 --- a/tests/python/modules/test_utils.py +++ b/tests/python/modules/test_utils.py @@ -60,7 +60,6 @@ class AbstractBlenderRunnerTest(unittest.TestCase): command = [ self.blender, '--background', - '-noaudio', '--factory-startup', '--enable-autoexec', '--debug-memory', diff --git a/tests/python/rna_info_dump.py b/tests/python/rna_info_dump.py index 02aba6c864b..2d1482a8c45 100644 --- a/tests/python/rna_info_dump.py +++ b/tests/python/rna_info_dump.py @@ -3,7 +3,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later # Used for generating API diffs between releases -# ./blender.bin --background -noaudio --python tests/python/rna_info_dump.py +# ./blender.bin --background --python tests/python/rna_info_dump.py import bpy diff --git a/tests/python/sequencer_render_tests.py b/tests/python/sequencer_render_tests.py index 35583d2c358..aeab204a5c0 100644 --- a/tests/python/sequencer_render_tests.py +++ b/tests/python/sequencer_render_tests.py @@ -15,7 +15,6 @@ def get_arguments(filepath, output_filepath): args = [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/storm_render_tests.py b/tests/python/storm_render_tests.py index 642626a48a5..a058268adee 100644 --- a/tests/python/storm_render_tests.py +++ b/tests/python/storm_render_tests.py @@ -38,7 +38,6 @@ if inside_blender: def get_arguments(filepath, output_filepath): return [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tests/python/view_layer/CMakeLists.txt b/tests/python/view_layer/CMakeLists.txt index 67eb9f4ee15..bcfafdbee0c 100644 --- a/tests/python/view_layer/CMakeLists.txt +++ b/tests/python/view_layer/CMakeLists.txt @@ -17,7 +17,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TEST_OUT_DIR}) # endif() # for testing with valgrind prefix: valgrind --track-origins=yes --error-limit=no -set(TEST_BLENDER_EXE $ --background -noaudio --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/scripts) +set(TEST_BLENDER_EXE $ --background --factory-startup --debug-memory --debug-exit-on-error --env-system-scripts ${CMAKE_SOURCE_DIR}/scripts) # ------------------------------------------------------------------------------ diff --git a/tests/python/workbench_render_tests.py b/tests/python/workbench_render_tests.py index a9a90492649..03950b09b0f 100644 --- a/tests/python/workbench_render_tests.py +++ b/tests/python/workbench_render_tests.py @@ -37,7 +37,6 @@ if inside_blender: def get_arguments(filepath, output_filepath): return [ "--background", - "-noaudio", "--factory-startup", "--enable-autoexec", "--debug-memory", diff --git a/tools/check_source/check_descriptions.py b/tools/check_source/check_descriptions.py index 5569e0d1597..e83d1a48515 100644 --- a/tools/check_source/check_descriptions.py +++ b/tools/check_source/check_descriptions.py @@ -6,7 +6,7 @@ """ this script updates XML themes once new settings are added - ./blender.bin --background -noaudio --python tools/check_source/check_descriptions.py + ./blender.bin --background --python tools/check_source/check_descriptions.py """ import bpy diff --git a/tools/utils/cycles_timeit.py b/tools/utils/cycles_timeit.py index 3dfc64acc63..1ca4daa8f16 100755 --- a/tools/utils/cycles_timeit.py +++ b/tools/utils/cycles_timeit.py @@ -136,7 +136,6 @@ def benchmarkFile(blender, blendfile, stats): # Configure command for the current file. command = (blender, "--background", - "-noaudio", "--factory-startup", blendfile, "--engine", "CYCLES",