From c7366e05ae956113f03cdfbd3060be2ea0bae9a0 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Mon, 24 Jun 2019 22:03:49 +0300 Subject: [PATCH] appveyor fix #5 - dll --- fortune-mod/tests/fortune-m-test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fortune-mod/tests/fortune-m-test.py b/fortune-mod/tests/fortune-m-test.py index a46acea..988e0a7 100644 --- a/fortune-mod/tests/fortune-m-test.py +++ b/fortune-mod/tests/fortune-m-test.py @@ -6,5 +6,6 @@ import subprocess from os.path import join inst_dir = join(os.getcwd(), "fortune-m-INST_DIR") -subprocess.check_call([ - glob.glob(join(inst_dir, "games", "fortune")+'*')[0], "-m", "giants"]) +exe = glob.glob(join(inst_dir, "games", "fortune")+'*')[0] +subprocess.call(["objdump", "-p", exe]) +subprocess.check_call([exe, "-m", "giants"]) -- 2.40.0