Skip to content

Commit

Permalink
Simplify stdlib test
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremie Dimino <[email protected]>
  • Loading branch information
jeremiedimino committed Jan 16, 2020
1 parent 54dea32 commit 44c433f
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 52 deletions.
42 changes: 3 additions & 39 deletions test/blackbox-tests/test-cases/stdlib-compilation/run.t
Original file line number Diff line number Diff line change
@@ -1,41 +1,5 @@
Build stdlib with stdlib.ml
$ dune build --display short @all --root with-lib-interface
Entering directory 'with-lib-interface'
cat src/camlinternalFormatBasics.pp.ml
ocamldep src/.stdlib.objs/camlinternalFormatBasics.pp.ml.d
ocamlc src/.stdlib.objs/byte/camlinternalFormatBasics.{cmi,cmo,cmt}
ocamlopt src/.stdlib.objs/native/camlinternalFormatBasics.{cmx,o}
cat src/list.pp.ml
ocamldep src/.stdlib.objs/list.pp.ml.d
cat src/std_exit.pp.ml
ocamldep src/.stdlib.objs/std_exit.pp.ml.d
cat src/stdlib.pp.ml
ocamldep src/.stdlib.objs/stdlib.pp.ml.d
ocamlc src/.stdlib.objs/byte/stdlib.{cmi,cmo,cmt}
ocamlc src/.stdlib.objs/byte/stdlib__List.{cmi,cmo,cmt}
ocamlc src/stdlib.cma
ocamlc src/.stdlib.objs/byte/std_exit.{cmi,cmo,cmt}
ocamlopt src/.stdlib.objs/native/std_exit.{cmx,o}
ocamlopt src/.stdlib.objs/native/stdlib.{cmx,o}
ocamlopt src/.stdlib.objs/native/stdlib__List.{cmx,o}
ocamlopt src/stdlib.{a,cmxa}
ocamlopt src/stdlib.cmxs

Build stdlib without stdlib.ml
$ dune build --display short @all --root without-lib-interface
Entering directory 'without-lib-interface'
cat src/camlinternalFormatBasics.pp.ml
ocamldep src/.stdlib.objs/camlinternalFormatBasics.pp.ml.d
ocamlc src/.stdlib.objs/byte/camlinternalFormatBasics.{cmi,cmo,cmt}
ocamlopt src/.stdlib.objs/native/camlinternalFormatBasics.{cmx,o}
cat src/list.pp.ml
ocamldep src/.stdlib.objs/list.pp.ml.d
ocamlc src/.stdlib.objs/byte/stdlib__List.{cmi,cmo,cmt}
ocamlopt src/.stdlib.objs/native/stdlib__List.{cmx,o}
cat src/std_exit.pp.ml
ocamldep src/.stdlib.objs/std_exit.pp.ml.d
ocamlopt src/stdlib.{a,cmxa}
ocamlopt src/stdlib.cmxs
ocamlc src/stdlib.cma
ocamlc src/.stdlib.objs/byte/std_exit.{cmi,cmo,cmt}
ocamlopt src/.stdlib.objs/native/std_exit.{cmx,o}
$ dune build @all
$ cd _build/default/src && ls *.cma
stdlib.cma

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

0 comments on commit 44c433f

Please sign in to comment.