Skip to content

Instantly share code, notes, and snippets.

@Leonidas-from-XIV
Created November 20, 2014 15:19
Show Gist options
  • Save Leonidas-from-XIV/560e4b5c0fb306357825 to your computer and use it in GitHub Desktop.
Save Leonidas-from-XIV/560e4b5c0fb306357825 to your computer and use it in GitHub Desktop.
Core_kernel unit tests
marek@nausicaa core_kernel-112.01.00 % make test
./setup.exe -build
W: Cannot find source file matching module 'core_kernel' in library core_kernel
W: Cannot find source file matching module 'raise_without_backtrace' in library raise_without_backtrace
W: Cannot find source file matching module 'check_caml_modify' in library check_caml_modify
Finished, 0 targets (0 cached) in 00:00:00.
Finished, 836 targets (833 cached) in 00:00:05.
./setup.exe -test
W: Tests are turned off, consider enabling with 'ocaml setup.ml -configure --enable-tests'
marek@nausicaa core_kernel-112.01.00 % ocaml setup.ml -configure --enable-tests
File "setup.ml", line 245, characters 8-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "setup.ml", line 2500, characters 6-24:
Warning 3: deprecated: Lazy.lazy_from_fun
Use Lazy.from_fun instead.
Configuration:
ocamlfind: ........................................... /home/marek/.opam/4.02.1+fp/bin/ocamlfind
ocamlc: .............................................. /home/marek/.opam/4.02.1+fp/bin/ocamlc.opt
ocamlopt: ............................................ /home/marek/.opam/4.02.1+fp/bin/ocamlopt.opt
ocamlbuild: .......................................... /home/marek/.opam/4.02.1+fp/bin/ocamlbuild
Package name: ........................................ core_kernel
Package version: ..................................... 112.01.00
os_type: ............................................. Unix
system: .............................................. linux
architecture: ........................................ amd64
ccomp_type: .......................................... cc
ocaml_version: ....................................... 4.02.1
standard_library_default: ............................ /home/marek/.opam/4.02.1+fp/lib/ocaml
standard_library: .................................... /home/marek/.opam/4.02.1+fp/lib/ocaml
standard_runtime: .................................... /home/marek/.opam/4.02.1+fp/bin/ocamlrun
bytecomp_c_compiler: ................................. gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -g -fno-omit-frame-pointer -fPIC
native_c_compiler: ................................... gcc -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -g -fno-omit-frame-pointer
model: ............................................... default
ext_obj: ............................................. .o
ext_asm: ............................................. .s
ext_lib: ............................................. .a
ext_dll: ............................................. .so
default_executable_name: ............................. a.out
systhread_supported: ................................. true
Install architecture-independent files dir: .......... /usr/local
Install architecture-dependent files in dir: ......... $prefix
User executables: .................................... $exec_prefix/bin
System admin executables: ............................ $exec_prefix/sbin
Program executables: ................................. $exec_prefix/libexec
Read-only single-machine data: ....................... $prefix/etc
Modifiable architecture-independent data: ............ $prefix/com
Modifiable single-machine data: ...................... $prefix/var
Object code libraries: ............................... $exec_prefix/lib
Read-only arch-independent data root: ................ $prefix/share
Read-only architecture-independent data: ............. $datarootdir
Info documentation: .................................. $datarootdir/info
Locale-dependent data: ............................... $datarootdir/locale
Man documentation: ................................... $datarootdir/man
Documentation root: .................................. $datarootdir/doc/$pkg_name
HTML documentation: .................................. $docdir
DVI documentation: ................................... $docdir
PDF documentation: ................................... $docdir
PS documentation: .................................... $docdir
findlib_version: ..................................... 1.5.5
is_native: ........................................... true
suffix_program: ......................................
Remove a file.: ...................................... rm -f
Remove a directory.: ................................. rm -rf
Turn ocaml debug flag on: ............................ true
Turn ocaml profile flag on: .......................... false
Compiler support generation of .cmxs.: ............... true
OCamlbuild additional flags: .........................
Enable caml modify tests: ............................ true
Create documentations: ............................... true
Compile tests executable and library and run them: ... true
camlp4o: ............................................. /home/marek/.opam/4.02.1+fp/bin/camlp4o
pkg_pa_ounit: ........................................ /home/marek/.opam/4.02.1+fp/lib/pa_ounit
pkg_pa_ounit_syntax: ................................. /home/marek/.opam/4.02.1+fp/lib/pa_ounit
pkg_bigarray: ........................................ /home/marek/.opam/4.02.1+fp/lib/ocaml
pkg_bin_prot: ........................................ /home/marek/.opam/4.02.1+fp/lib/bin_prot
pkg_bin_prot_syntax: ................................. /home/marek/.opam/4.02.1+fp/lib/bin_prot
pkg_comparelib_syntax: ............................... /home/marek/.opam/4.02.1+fp/lib/comparelib
pkg_enumerate: ....................................... /home/marek/.opam/4.02.1+fp/lib/enumerate
pkg_enumerate_syntax: ................................ /home/marek/.opam/4.02.1+fp/lib/enumerate
pkg_fieldslib: ....................................... /home/marek/.opam/4.02.1+fp/lib/fieldslib
pkg_fieldslib_syntax: ................................ /home/marek/.opam/4.02.1+fp/lib/fieldslib
pkg_herelib: ......................................... /home/marek/.opam/4.02.1+fp/lib/herelib
pkg_herelib_syntax: .................................. /home/marek/.opam/4.02.1+fp/lib/herelib
pkg_pa_bench: ........................................ /home/marek/.opam/4.02.1+fp/lib/pa_bench
pkg_pa_bench_syntax: ................................. /home/marek/.opam/4.02.1+fp/lib/pa_bench
pkg_pa_test: ......................................... /home/marek/.opam/4.02.1+fp/lib/pa_test
pkg_pa_test_syntax: .................................. /home/marek/.opam/4.02.1+fp/lib/pa_test
pkg_pa_pipebang: ..................................... /home/marek/.opam/4.02.1+fp/lib/pa_pipebang
pkg_sexplib: ......................................... /home/marek/.opam/4.02.1+fp/lib/sexplib
pkg_sexplib_syntax: .................................. /home/marek/.opam/4.02.1+fp/lib/sexplib
pkg_typerep_lib: ..................................... /home/marek/.opam/4.02.1+fp/lib/typerep_lib
pkg_typerep_lib_syntax: .............................. /home/marek/.opam/4.02.1+fp/lib/typerep_lib
pkg_unix: ............................................ /home/marek/.opam/4.02.1+fp/lib/ocaml
pkg_variantslib: ..................................... /home/marek/.opam/4.02.1+fp/lib/variantslib
pkg_variantslib_syntax: .............................. /home/marek/.opam/4.02.1+fp/lib/variantslib
marek@nausicaa core_kernel-112.01.00 % make test
./setup.exe -build
W: Cannot find source file matching module 'core_kernel' in library core_kernel
W: Cannot find source file matching module 'raise_without_backtrace' in library raise_without_backtrace
W: Cannot find source file matching module 'check_caml_modify' in library check_caml_modify
Finished, 0 targets (0 cached) in 00:00:00.
+ /home/marek/.opam/4.02.1+fp/bin/ocamlfind ocamlc -c -g -I check_caml_modify -I raise_without_backtrace -I lib -syntax camlp4o -package variantslib.syntax -package variantslib -package unix -package typerep_lib.syntax -package typerep_lib -package sexplib.syntax -package sexplib -package pa_test.syntax -package pa_test -package pa_pipebang -package pa_ounit.syntax -package pa_ounit -package pa_bench.syntax -package pa_bench -package herelib.syntax -package herelib -package fieldslib.syntax -package fieldslib -package enumerate.syntax -package enumerate -package comparelib.syntax -package bin_prot.syntax -package bin_prot -package bigarray -I lib_test -I check_caml_modify -I lib -o lib_test/pool_caml_modify_check.cmo lib_test/pool_caml_modify_check.ml
File "lib_test/pool_caml_modify_check.ml", line 7, characters 5-13:
Error: Unbound module Core
Command exited with code 2.
Compilation unsuccessful after building 838 targets (833 cached) in 00:00:06.
E: Failure("Command ''/home/marek/.opam/4.02.1+fp/bin/ocamlbuild' check_caml_modify/libcheck_caml_modify_stubs.a check_caml_modify/dllcheck_caml_modify_stubs.so check_caml_modify/check_caml_modify.cma check_caml_modify/check_caml_modify.cmxa check_caml_modify/check_caml_modify.a check_caml_modify/check_caml_modify.cmxs raise_without_backtrace/raise_without_backtrace.cma raise_without_backtrace/raise_without_backtrace.cmxa raise_without_backtrace/raise_without_backtrace.a raise_without_backtrace/raise_without_backtrace.cmxs lib/libcore_kernel_stubs.a lib/dllcore_kernel_stubs.so lib/core_kernel.cma lib/core_kernel.cmxa lib/core_kernel.a lib/core_kernel.cmxs lib_test/pool_caml_modify_check.native -use-ocamlfind -tag debug' terminated with error code 10")
Makefile:21: recipe for target 'build' failed
make: *** [build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment