Skip to content

Commit

Permalink
Make reproducible, take 3
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Kubica <marek@tarides.com>
  • Loading branch information
Leonidas-from-XIV committed May 28, 2024
1 parent 57a17a3 commit 4cf924c
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions test/blackbox-tests/test-cases/pkg/dependency-install-file.t
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,5 @@ With this project set up, lets depend on it.
$ cat > foo.ml <<EOF
> let () = Nondune.main ()
> EOF
$ OCAML_STDLIB=$(ocamlc -config | grep "standard_library:" | cut -d ' ' -f2)
$ BUILD_PATH_PREFIX_MAP="/OCAML_STDLIB=$OCAML_STDLIB:$BUILD_PATH_PREFIX_MAP"
$ dune exec ./foo.exe
File "foo.ml", line 1, characters 9-21:
1 | let () = Nondune.main ()
^^^^^^^^^^^^
Error: Unbound module Nondune
File "dune", line 2, characters 7-10:
2 | (name foo)
^^^
Error: File unavailable: /OCAML_STDLIB/nondune.cma
[1]
$ dune exec ./foo.exe 2>&1 | grep -o "Unbound module Nondune"
Unbound module Nondune

0 comments on commit 4cf924c

Please sign in to comment.