]> granicus.if.org Git - fortune-mod/commitdiff
appveyor fix 10: debug
authorShlomi Fish <shlomif@shlomifish.org>
Sun, 19 Jan 2020 17:39:33 +0000 (19:39 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Sun, 19 Jan 2020 17:39:33 +0000 (19:39 +0200)
fortune-mod/tests/fortune-m-test.py

index 988e0a7c19b2fcaa5e516cc37e1d5c68af4d0833..eb8c18376b19f74fc5b4604c3be908c7df4542f9 100644 (file)
@@ -7,5 +7,7 @@ from os.path import join
 inst_dir = join(os.getcwd(), "fortune-m-INST_DIR")
 
 exe = glob.glob(join(inst_dir, "games", "fortune")+'*')[0]
-subprocess.call(["objdump", "-p", exe])
-subprocess.check_call([exe, "-m", "giants"])
+# subprocess.call(["objdump", "-p", exe])
+rc = subprocess.call(
+    [exe, "-m", "giants"],
+    stdout=subprocess.STDOUT, stderr=subprocess.STDOUT, )