aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mtest.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-14 11:10:18 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-14 11:10:18 -0700
commit5dca885c5c159229d39763041fdaf57a713ef0c0 (patch)
treeb42b6aca28a4c3c5c9bebe0ccf193b563ea9a364 /mesonbuild/mtest.py
parent7b8ef78bc0002d0327626c6218b793f87c2a5eb8 (diff)
downloadmeson-5dca885c5c159229d39763041fdaf57a713ef0c0.zip
meson-5dca885c5c159229d39763041fdaf57a713ef0c0.tar.gz
meson-5dca885c5c159229d39763041fdaf57a713ef0c0.tar.bz2
mtest: reorder imports
I wanted to look at the imports for annotations but was having hard time reading them because they're just all over the place. This is purely a human readability issue.
Diffstat (limited to 'mesonbuild/mtest.py')
-rw-r--r--mesonbuild/mtest.py38
1 files changed, 22 insertions, 16 deletions
diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py
index 8df8f48..476cf63 100644
--- a/mesonbuild/mtest.py
+++ b/mesonbuild/mtest.py
@@ -14,26 +14,32 @@
# A tool to run tests in many different ways.
-import shlex
-import subprocess, sys, os, argparse
-import pickle
-from mesonbuild import build
-from mesonbuild import environment
-from mesonbuild.dependencies import ExternalProgram
-from mesonbuild.mesonlib import substring_is_in_list, MesonException
-from mesonbuild import mlog
-
from collections import namedtuple
-import io
-import re
-import tempfile
-import time, datetime, multiprocessing, json
+from copy import deepcopy
+import argparse
import concurrent.futures as conc
+import datetime
+import enum
+import io
+import json
+import multiprocessing
+import os
+import pickle
import platform
-import signal
import random
-from copy import deepcopy
-import enum
+import re
+import shlex
+import signal
+import subprocess
+import sys
+import tempfile
+import time
+
+from . import build
+from . import environment
+from . import mlog
+from .dependencies import ExternalProgram
+from .mesonlib import substring_is_in_list, MesonException
# GNU autotools interprets a return code of 77 from tests it executes to
# mean that the test should be skipped.