Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the tests for Opam's sandbox #1373

Merged
merged 3 commits into from
Jul 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
merlin 4.3
===========
Mon Jul 26 11:13:37 AM CET 2021
Mon Jul 26 04:45:37 PM CET 2021

+ merlin binary
- recover ill-typed patterns (#1317, #1342)
Expand Down Expand Up @@ -28,10 +28,10 @@ Mon Jul 26 11:13:37 AM CET 2021
- locate: reset global state from all entry points (#1364)
- Windows: replace user name by its SID in socketnames (#1345, @ttamttam)
+ editor modes
- vim: add a simple interface to the new `construct` command:
`MerlinConstruct`. When several results are suggested,
`<c-i>` and `<c-u>`
to show more or less deep results. (#1318)
- vim: add a simple interface to the new `construct` command:
`MerlinConstruct`. When several results are suggested, `<c-i>`
and `<c-u>` can be use to change the depth of the recursive
construction. (#1318)
- vim: add support for the `merlin-locate-type` command:
`MerlinLocateType` (#1359)
- emacs: add a simple interface to the new `construct` command:
Expand All @@ -41,6 +41,7 @@ Mon Jul 26 11:13:37 AM CET 2021
(#1367, @mattiase)
+ test suite
- cover the new `construct` command (#1318)
- disable tests failing in Opam's CI due to nested dune projects (#1373)

merlin 4.2
==========
Expand Down
6 changes: 5 additions & 1 deletion tests/test-dirs/config/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
(cram
(applies_to symlinks path-expansion workdir)
(applies_to path-expansion)
(enabled_if
(<> %{os_type} Win32)))

(cram
(applies_to symlinks workdir)
(enabled_if false))
1 change: 0 additions & 1 deletion tests/test-dirs/config/symlinks.t/real/dune-project

This file was deleted.

4 changes: 4 additions & 0 deletions tests/test-dirs/config/symlinks.t/run.t
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
$ ROOT_DIR=$(pwd)

$ cat >real/dune-project <<EOF
> (lang dune 2.7)
> EOF

We work in a directory which is a symlink to another
$ ln -s real link
$ cd link
Expand Down
1 change: 0 additions & 1 deletion tests/test-dirs/config/workdir.t/dune-project

This file was deleted.

9 changes: 9 additions & 0 deletions tests/test-dirs/config/workdir.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ We need to set the MERLIN_LOG env variable for Merlin to log events prior
to the reading of the configuration.
$ export MERLIN_LOG=-

$ cat >dune-project <<EOF
> (lang dune 2.7)
> EOF

$ cat >src/dune <<EOF
> (executable
> (name main))
> EOF

% We check that:
% workdir = $TESTCASE_ROOT/src
% startdir = $TESTCASE_ROOT
Expand Down
2 changes: 0 additions & 2 deletions tests/test-dirs/config/workdir.t/src/dune

This file was deleted.