Combine `run_tests` import lines in `run_unittests`
This commit is contained in:
parent
80ac40b7e7
commit
0fd548e16f
|
@ -22,10 +22,12 @@ from functools import lru_cache
|
|||
from . import environment
|
||||
from . import dependencies
|
||||
from . import mlog
|
||||
from .mesonlib import File, MesonException, listify, extract_as_list, OrderedSet
|
||||
from .mesonlib import typeslistify, stringlistify, classify_unity_sources
|
||||
from .mesonlib import get_filenames_templates_dict, substitute_values
|
||||
from .mesonlib import for_windows, for_darwin, for_cygwin, for_android, has_path_sep
|
||||
from .mesonlib import (
|
||||
File, MesonException, listify, extract_as_list, OrderedSet,
|
||||
typeslistify, stringlistify, classify_unity_sources,
|
||||
get_filenames_templates_dict, substitute_values,
|
||||
for_windows, for_darwin, for_cygwin, for_android, has_path_sep
|
||||
)
|
||||
from .compilers import is_object, clink_langs, sort_clink, lang_suffixes, get_macos_dylib_install_name
|
||||
from .interpreterbase import FeatureNew
|
||||
|
||||
|
|
|
@ -17,8 +17,9 @@ import pickle, os, uuid, shlex
|
|||
import sys
|
||||
from pathlib import PurePath
|
||||
from collections import OrderedDict
|
||||
from .mesonlib import MesonException
|
||||
from .mesonlib import default_libdir, default_libexecdir, default_prefix
|
||||
from .mesonlib import (
|
||||
MesonException, default_libdir, default_libexecdir, default_prefix
|
||||
)
|
||||
from .wrap import WrapMode
|
||||
import ast
|
||||
import argparse
|
||||
|
|
|
@ -51,11 +51,12 @@ from mesonbuild.dependencies import PkgConfigDependency, ExternalProgram
|
|||
from mesonbuild.build import Target
|
||||
import mesonbuild.modules.pkgconfig
|
||||
|
||||
from run_tests import exe_suffix, get_fake_env, get_meson_script
|
||||
from run_tests import get_builddir_target_args, get_backend_commands, Backend
|
||||
from run_tests import ensure_backend_detects_changes, run_configure_inprocess
|
||||
from run_tests import run_mtest_inprocess
|
||||
from run_tests import FakeBuild, FakeCompilerOptions
|
||||
from run_tests import (
|
||||
Backend, FakeBuild, FakeCompilerOptions,
|
||||
ensure_backend_detects_changes, exe_suffix, get_backend_commands,
|
||||
get_builddir_target_args, get_fake_env, get_meson_script,
|
||||
run_configure_inprocess, run_mtest_inprocess
|
||||
)
|
||||
|
||||
def get_dynamic_section_entry(fname, entry):
|
||||
if is_cygwin() or is_osx():
|
||||
|
|
Loading…
Reference in New Issue