Skip to content

Commit

Permalink
Check that we don't emit orig_src_dir in release profile
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Popp <[email protected]>
  • Loading branch information
andreypopp committed Jan 11, 2019
1 parent 7d73361 commit e73162c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions test/blackbox-tests/test-cases/dune-package/run.t
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Build with "dev" profile
$ dune build
$ cat _build/install/default/lib/a/dune-package
(lang dune 1.7)
Expand Down Expand Up @@ -32,3 +33,35 @@
(main_module_name C)
(modules ((name Y) (obj_name c__Y) (visibility public) (impl)))
(wrapped true)))

Build with "release" profile
$ dune build --profile release
$ cat _build/install/default/lib/a/dune-package
(lang dune 1.7)
(name a)
(library
(name a)
(kind normal)
(archives (byte a.cma) (native a.cmxa))
(plugins (byte a.cma) (native a.cmxs))
(foreign_archives (native a$ext_lib))
(main_module_name A)
(modes byte native)
(modules
(alias_module (name A) (obj_name a) (visibility public) (impl))
(main_module_name A)
(modules ((name X) (obj_name a__X) (visibility public) (impl)))
(wrapped true)))
(library
(name a.b.c)
(kind normal)
(archives (byte b/c/c.cma) (native b/c/c.cmxa))
(plugins (byte b/c/c.cma) (native b/c/c.cmxs))
(foreign_archives (native b/c/c$ext_lib))
(main_module_name C)
(modes byte native)
(modules
(alias_module (name C) (obj_name c) (visibility public) (impl))
(main_module_name C)
(modules ((name Y) (obj_name c__Y) (visibility public) (impl)))
(wrapped true)))

0 comments on commit e73162c

Please sign in to comment.