Skip to content

Commit

Permalink
fix: promote test
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Marais <[email protected]>
  • Loading branch information
maiste committed Jun 27, 2024
1 parent 6f12070 commit 0362b79
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,13 @@ Make a package "foo" whose build will fail after printing a message:

Attempt to build the package the first time:
(the error from make is grep'd out because it is not consistant across different systems)
File "dune.lock/foo.pkg", line 4, characters 6-13:
$ dune build 2>&1 | grep -v -e "^make" -e "^gmake"
File "dune.lock/foo.pkg", line 4, characters 6-13:
4 | (run %{make}))
^^^^^^^
Error: Logs for package foo
aaa
make: *** [Makefile:3: all] Error 1

[1]

Update the message that gets printed while building foo:
$ cat >foo/Makefile <<EOF
Expand All @@ -61,6 +59,4 @@ The change to the package is picked up:
^^^^^^^
Error: Logs for package foo
bbb
make: *** [Makefile:3: all] Error 1

[1]

0 comments on commit 0362b79

Please sign in to comment.