From a9768e386759d71de2c58a61e660308552574997 Mon Sep 17 00:00:00 2001 From: Adrien Guinet Date: Thu, 5 Mar 2020 14:15:07 +0100 Subject: Include missing functions from llvm's compiler-rt into Jitllvm Under Windows, we also need to compile these with clang (because MSVCRT doesn't seem to have proper uint128_t support), so automatically check if clang is installed (through the registry) and force distutils to use it (with a not so nice hack). Last but not least, this only works for 64 bit systems, so disable the mn_div test if this is not the case. --- test/test_all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test_all.py') diff --git a/test/test_all.py b/test/test_all.py index a8bf5330..71eccc6f 100755 --- a/test/test_all.py +++ b/test/test_all.py @@ -17,6 +17,7 @@ from utils import cosmetics, multithread from multiprocessing import Queue is_win = platform.system() == "Windows" +is_64bit = platform.architecture()[0] == "64bit" testset = TestSet("../") TAGS = {"regression": "REGRESSION", # Regression tests @@ -112,7 +113,7 @@ for script in ["x86/sem.py", if jitter in blacklist.get(script, []): continue tags = [TAGS[jitter]] if jitter in TAGS else [] - if is_win and script.endswith("mn_div.py"): + if (not is_64bit) and script.endswith("mn_div.py"): continue testset += ArchUnitTest(script, jitter, base_dir="arch", tags=tags) -- cgit 1.4.1