Folks,
I'm trying to build a custom toplevel that includes OUnit. I have
ounit.cma and ounit.cmi in the OUnit installation directory. I do
ocamlbuild -clean
ocamlbuild test.byte
This builds a bunch of stuff in the build directory, including
test_parser.cmo
ocamlfind ocamlmktop -package ounit -linkpkg -o test.top
I then try to load my parser tests into the new toplevel and get the
following error
# #load "test_parser.cmo";;
The files test_parser.cmo and ./mytop disagree over interface Parser
If I just try to use test_parser.ml I get the following
# #use "test_parser.ml";;
File "test_parser.ml", line 1, characters 0-10:
Unbound module OUnit
Any clues?
Thanks, Joel
--
http://wagerlabs.com/
.