From 693cd4e6b0b8dea5662e1034ead302d48710eced Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka Date: Fri, 26 Jul 2019 12:59:31 +0200 Subject: [PATCH] drop Darwin support, noone uses it anymore --- test/run-tests.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/run-tests.py b/test/run-tests.py index 07b0ab8d..ee5ed8f2 100644 --- a/test/run-tests.py +++ b/test/run-tests.py @@ -41,17 +41,6 @@ def rel_path(fname: str) -> str: def build_web_server_image(): run_osbuild(rel_path("4-all.json")) - # run_osbuild(rel_path("1-create-base.json")) - # r = run_osbuild(rel_path("2-configure-web-server.json"), check=False) - # # TODO: remove this workaround once the grub2 stage works on the first try :-) - # if r != 0: - # run_osbuild(rel_path("2-configure-web-server.json")) - # run_osbuild(rel_path("3-compose-qcow2.json")) - - -def uname() -> str: - uname = subprocess.run(["uname"], capture_output=True) - return uname.stdout.decode("utf-8").strip() @contextlib.contextmanager @@ -78,12 +67,6 @@ def test_web_server(): if __name__ == '__main__': - if uname() == "Darwin": - logging.info("Running on macOS. Skipping image build.") - else: - logging.info("Building image") - build_web_server_image() - logging.info("Running tests") tests = [test_web_server] with boot_image(IMAGE_PATH):