Skip to content

Commit

Permalink
Merge pull request #63 from kg/runtests-debug-info
Browse files Browse the repository at this point in the history
Update runtests to compile with debugging information
  • Loading branch information
jfbastien committed Sep 15, 2015
2 parents 193e1ef + d669b09 commit b0be723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml-proto/runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def find_interpreter(path):
def rebuild_interpreter(path):
print("// building %s" % path)
sys.stdout.flush()
exitCode = subprocess.call(["ocamlbuild", "-libs", "bigarray, nums, str", "-Is", "given, spec, host", "host/main.native"], cwd=os.path.abspath("src"))
exitCode = subprocess.call(["ocamlbuild", "-libs", "bigarray, nums, str", "-Is", "given, spec, host", "-cflags", "-g", "host/main.native"], cwd=os.path.abspath("src"))
if (exitCode != 0):
raise Exception("ocamlbuild failed with exit code %i" % exitCode)
if not os.path.exists(path):
Expand Down

0 comments on commit b0be723

Please sign in to comment.