This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,24 @@
A lock directory which does not exist in the source tree:
$ . ./helpers.sh
$ mkdir dune.lock project
$ cat >dune.lock/foo.pkg <<EOF
> (build (run echo foo))
> (version 1.0.0)
> EOF
$ cat >dune-workspace <<EOF
> (lang dune 3.13)
> (lock_dir (path $PWD/dune.lock))
> EOF
$ build_pkg foo 2>&1 | awk '/Internal error/,/Raised/'
Internal error, please report upstream including the contents of _build/log.
Description:
("Local.relative: received absolute path",
{ t = "."
; path =
"$TESTCASE_ROOT/dune.lock"
})
Raised at Stdune__Code_error.raise in file