This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
Test that section pforms are substituted with absolute paths.
|
||||
|
||||
$ . ./helpers.sh
|
||||
|
||||
$ make_lockdir
|
||||
|
||||
$ cat >dune.lock/test.pkg <<EOF
|
||||
> (version 0.0.1)
|
||||
> (install (progn
|
||||
> (run echo --prefix %{prefix})
|
||||
> (run echo --prefix=%{prefix})))
|
||||
> EOF
|
||||
|
||||
$ cat >dune-project <<EOF
|
||||
> (lang dune 3.13)
|
||||
> (package
|
||||
> (name foo)
|
||||
> (allow_empty)
|
||||
> (depends test))
|
||||
> EOF
|
||||
|
||||
Note that currently dune incorrectly substitutes relative paths for pforms that
|
||||
appear in string interpolations.
|
||||
$ build_pkg test 2>&1 | strip_sandbox
|
||||
--prefix $SANDBOX/_private/default/.pkg/test/target
|
||||
$SANDBOX/_private/default/.pkg/test/target
|
||||
Loading…
Add table
Add a link
Reference in a new issue