From 8e6b39d80e9f8db8389bd2a8106d0f64b91c19e9 Mon Sep 17 00:00:00 2001 From: Axel Souchet <0vercl0k@tuxfamily.org> Date: Sun, 9 Sep 2018 06:11:00 -0700 Subject: Adds Windows support and AppVeyor CI (#835) * Get miasm to work on Windows, also add AppVeyor CI * Fix gcc jitter on Linux * Make the dse_crackme tests work on Windows * calling build and then install is less confusing than install twice * fix os.rename race condition on Windows * clean it up * Clean up after the unused cl.exe's artifacts * Use is_win instead of an additional check * Fix issue on Windows where 'w' and 'wb' modes are different * Address review feedback * setuptools is actually not required, so reverting --- test/test_all.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/test_all.py') diff --git a/test/test_all.py b/test/test_all.py index a69ec229..d1ccb19f 100755 --- a/test/test_all.py +++ b/test/test_all.py @@ -6,12 +6,15 @@ import os import platform import time import tempfile +import platform from utils.test import Test from utils.testset import TestSet from utils import cosmetics, multithread from multiprocessing import Queue +is_win = platform.system() == "Windows" + testset = TestSet("../") TAGS = {"regression": "REGRESSION", # Regression tests "example": "EXAMPLE", # Examples @@ -99,6 +102,8 @@ 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"): + continue testset += ArchUnitTest(script, jitter, base_dir="arch", tags=tags) testset += ArchUnitTest("x86/unit/access_xmm.py", "python", base_dir="arch") @@ -653,7 +658,7 @@ for strategy in ["code-cov", "branch-cov", "path-cov"]: testset += ExampleSymbolExec(["dse_strategies.py", Example.get_sample("simple_test.bin"), strategy], - tags=[TAGS["z3"]]) + tags=[TAGS["z3"]]) ## Jitter class ExampleJitter(Example): -- cgit 1.4.1