Changeset View
Changeset View
Standalone View
Standalone View
test/Bindings/OCaml/bitreader.ml
(* RUN: cp %s %T/bitreader.ml | (* RUN: rm -rf %t && mkdir -p %t && cp %s %t/bitreader.ml | ||||
* RUN: %ocamlc -g -w +A -package llvm.bitreader -package llvm.bitwriter -linkpkg %T/bitreader.ml -o %t | * RUN: %ocamlc -g -w +A -package llvm.bitreader -package llvm.bitwriter -linkpkg %t/bitreader.ml -o %t/executable | ||||
* RUN: %t %t.bc | * RUN: %t/executable %t/bitcode.bc | ||||
* RUN: %ocamlopt -g -w +A -package llvm.bitreader -package llvm.bitwriter -linkpkg %T/bitreader.ml -o %t | * RUN: %ocamlopt -g -w +A -package llvm.bitreader -package llvm.bitwriter -linkpkg %t/bitreader.ml -o %t/executable | ||||
* RUN: %t %t.bc | * RUN: %t/executable %t/bitcode.bc | ||||
* RUN: llvm-dis < %t.bc | * RUN: llvm-dis < %t/bitcode.bc | ||||
* XFAIL: vg_leak | * XFAIL: vg_leak | ||||
*) | *) | ||||
(* Note that this takes a moment to link, so it's best to keep the number of | (* Note that this takes a moment to link, so it's best to keep the number of | ||||
individual tests low. *) | individual tests low. *) | ||||
let context = Llvm.global_context () | let context = Llvm.global_context () | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |