| 1 |
# DExTer : Debugging Experience Tester |
| 2 |
# ~~~~~~ ~ ~~ ~ ~~ |
| 3 |
# |
| 4 |
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 5 |
# See https://llvm.org/LICENSE.txt for license information. |
| 6 |
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 7 |
"""Generic non-dexter-specific utility classes and functions.""" |
| 8 |
|
| 9 |
import os |
| 10 |
|
| 11 |
from dex.utils.Environment import is_native_windows, has_pywin32 |
| 12 |
from dex.utils.PrettyOutputBase import PreserveAutoColors |
| 13 |
from dex.utils.RootDirectory import get_root_directory |
| 14 |
from dex.utils.Timer import Timer |
| 15 |
from dex.utils.WorkingDirectory import WorkingDirectory |
| 16 |
|
| 17 |
if is_native_windows(): |
| 18 |
from dex.utils.windows.PrettyOutput import PrettyOutput |
| 19 |
else: |
| 20 |
from dex.utils.posix.PrettyOutput import PrettyOutput |
| 21 |
|
| 22 |
from dex.utils.Logging import Logger |