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,27 @@
Create a cram test and try to run it with DUNE_BUILD_DIR set to an absolute
path
$ cat >dune-project <<EOF
> (lang dune 3.5)
> EOF
$ cat >foo.t <<EOF
> $ echo " $ echo bar" >bar.t
> $ dune runtest
> EOF
$ DUNE_BUILD_DIR=$PWD/tmp dune runtest --auto-promote
File "foo.t", line 1, characters 0-0:
Error: Files
$TESTCASE_ROOT/tmp/default/foo.t
and
$TESTCASE_ROOT/tmp/default/foo.t.corrected
differ.
Promoting
$TESTCASE_ROOT/tmp/default/foo.t.corrected
to foo.t.
[1]
$ sed -E '/\(pid: [0-9]+\)/{s//(pid: ###)/; s/instance.*/.../g; q;}' foo.t
$ echo " $ echo bar" >bar.t
$ dune runtest
Error: A running dune (pid: ###) ...