aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-03-09 16:04:00 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-03-09 16:55:08 -0700
commitfc8fffaf47a7cddeaae16a368f54e4aa87a4f4b5 (patch)
tree75c2ab14867b4ffc9db378aafce178852d57ce41
parent23b5f9b35135eb0e8bb313f18d1d102b2803bfa0 (diff)
downloadmeson-fc8fffaf47a7cddeaae16a368f54e4aa87a4f4b5.zip
meson-fc8fffaf47a7cddeaae16a368f54e4aa87a4f4b5.tar.gz
meson-fc8fffaf47a7cddeaae16a368f54e4aa87a4f4b5.tar.bz2
run_project_tests: Sort imports
It was impossible to figure out what was coming from where before.
-rwxr-xr-xrun_project_tests.py30
1 files changed, 16 insertions, 14 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 127ca4d..1ae151b 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -14,19 +14,27 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import typing as T
+from concurrent.futures import ProcessPoolExecutor, CancelledError
+from enum import Enum
+from io import StringIO
+from pathlib import Path, PurePath
+import argparse
import functools
import itertools
+import json
+import multiprocessing
import os
-import subprocess
+import re
+import shlex
import shutil
-import sys
import signal
-import shlex
-from io import StringIO
-from enum import Enum
+import subprocess
+import sys
import tempfile
-from pathlib import Path, PurePath
+import time
+import typing as T
+import xml.etree.ElementTree as ET
+
from mesonbuild import build
from mesonbuild import environment
from mesonbuild import compilers
@@ -35,13 +43,7 @@ from mesonbuild import mlog
from mesonbuild import mtest
from mesonbuild.mesonlib import MachineChoice, Popen_safe
from mesonbuild.coredata import backendlist
-import argparse
-import json
-import xml.etree.ElementTree as ET
-import time
-import multiprocessing
-from concurrent.futures import ProcessPoolExecutor, CancelledError
-import re
+
from run_tests import get_fake_options, run_configure, get_meson_script
from run_tests import get_backend_commands, get_backend_args_for_dir, Backend
from run_tests import ensure_backend_detects_changes