Skip to content

Commit 0ae9bfc

Browse files
benodiwalbenioid
andcommitted
test: remove unnecessary DUNE_CONFIG__LOCK_DEV_TOOL flag from tests
The DUNE_CONFIG__LOCK_DEV_TOOL flag only affects `dune tools exec` behavior. Remove it from `dune tools install` and `dune tools env` commands where it has no effect. Co-Authored-By: Sachin <sachinbeniwal0101@gmail.com> Signed-off-by: Sachin Beniwal <s474996633@gmail.com>
1 parent 47298d2 commit 0ae9bfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/blackbox-tests/test-cases/pkg/ocamlformat/ocamlformat-wrapper.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Exercise running the ocamlformat wrapper command.
77
$ make_ocamlformat_opam_pkg "0.26.2"
88
$ make_project_with_dev_tool_lockdir
99

10-
$ DUNE_CONFIG__LOCK_DEV_TOOL=enabled dune tools install ocamlformat
10+
$ dune tools install ocamlformat
1111
Solution for _build/.dev-tools.locks/ocamlformat:
1212
- ocamlformat.0.26.2
1313

test/blackbox-tests/test-cases/pkg/ocamllsp/dev-tool-ocamllsp-basic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ Then exec runs it:
3838

3939
Make sure that after evaling the output of 'dune tools env', the first ocamllsp
4040
executable in PATH is the one installed by dune as a dev tool.
41-
$ DUNE_CONFIG__LOCK_DEV_TOOL=enabled eval $(dune tools env)
41+
$ eval $(dune tools env)
4242
$ which ocamllsp
4343
$TESTCASE_ROOT/_build/_private/default/.dev-tool/ocaml-lsp-server/target/bin/ocamllsp

0 commit comments

Comments
 (0)