Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Signed-off-by: nojebar <nicolas.ojeda.bar@lexifi.com>
  • Loading branch information
nojb committed Apr 5, 2022
1 parent 2440cc3 commit eae86a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/install-dry-run.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@
Removing (if it exists) _install/lib/mylib/mylib.ml
Removing (if it exists) _install/lib/mylib/opam
Removing (if it exists) _install/lib/mylib/mylib.cmxs
Removing directory (if empty) _install/lib/mylib
Removing directory (warn if not empty) _install/lib/mylib
20 changes: 10 additions & 10 deletions test/blackbox-tests/test-cases/install-libdir.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ If prefix is not passed, libdir defaults to the opam-prefix/lib directory:
Removing (if it exists) /OPAM_PREFIX/man/a-man-page-with-no-ext
Removing (if it exists) /OPAM_PREFIX/man/man1/a-man-page.1
Removing (if it exists) /OPAM_PREFIX/man/man3/another-man-page.3
Removing directory (if empty) /OPAM_PREFIX/man/man3
Removing directory (if empty) /OPAM_PREFIX/man/man1
Removing directory (if empty) /OPAM_PREFIX/man
Removing directory (if empty) /OPAM_PREFIX/lib/foo
Removing directory (if empty) /OPAM_PREFIX/bin
Removing directory (warn if not empty) /OPAM_PREFIX/man/man3
Removing directory (warn if not empty) /OPAM_PREFIX/man/man1
Removing directory (warn if not empty) /OPAM_PREFIX/man
Removing directory (warn if not empty) /OPAM_PREFIX/lib/foo
Removing directory (warn if not empty) /OPAM_PREFIX/bin

If only libdir is passed, binaries are installed under prefix/bin and libraries
in libdir:
Expand Down Expand Up @@ -251,11 +251,11 @@ in libdir:
Removing (if it exists) /OPAM_PREFIX/man/a-man-page-with-no-ext
Removing (if it exists) /OPAM_PREFIX/man/man1/a-man-page.1
Removing (if it exists) /OPAM_PREFIX/man/man3/another-man-page.3
Removing directory (if empty) /OPAM_PREFIX/man/man3
Removing directory (if empty) /OPAM_PREFIX/man/man1
Removing directory (if empty) /OPAM_PREFIX/man
Removing directory (if empty) /OPAM_PREFIX/bin
Removing directory (if empty) /LIBDIR/foo
Removing directory (warn if not empty) /OPAM_PREFIX/man/man3
Removing directory (warn if not empty) /OPAM_PREFIX/man/man1
Removing directory (warn if not empty) /OPAM_PREFIX/man
Removing directory (warn if not empty) /OPAM_PREFIX/bin
Removing directory (warn if not empty) /LIBDIR/foo

The DESTDIR var is supported. When set, it is prepended to the prefix.
This is the case when the prefix is implicit:
Expand Down

0 comments on commit eae86a0

Please sign in to comment.