Changeset View
Changeset View
Standalone View
Standalone View
test/Bindings/OCaml/analysis.ml
(* RUN: cp %s %T/analysis.ml | (* RUN: rm -rf %t && mkdir -p %t && cp %s %t/analysis.ml | ||||
* RUN: %ocamlc -g -w +A -package llvm.analysis -linkpkg %T/analysis.ml -o %t | * RUN: %ocamlc -g -w +A -package llvm.analysis -linkpkg %t/analysis.ml -o %t/executable | ||||
* RUN: %t | * RUN: %t/executable | ||||
* RUN: %ocamlopt -g -w +A -package llvm.analysis -linkpkg %T/analysis.ml -o %t | * RUN: %ocamlopt -g -w +A -package llvm.analysis -linkpkg %t/analysis.ml -o %t/executable | ||||
* RUN: %t | * RUN: %t/executable | ||||
* XFAIL: vg_leak | * XFAIL: vg_leak | ||||
*) | *) | ||||
open Llvm | open Llvm | ||||
open Llvm_analysis | open Llvm_analysis | ||||
(* 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. *) | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |