Skip to content

Commit 9fc6cd6

Browse files
committed
Stop setting feature flag in portable lockdir tests
Signed-off-by: Stephen Sherratt <[email protected]>
1 parent 5cd89de commit 9fc6cd6

13 files changed

+18
-18
lines changed

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-basic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Create a package that writes a different value to some files depending on the os
3333
> (libraries foo))
3434
> EOF
3535

36-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
36+
$ dune pkg lock
3737
Solution for dune.lock
3838

3939
Dependencies common to all supported platforms:

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-custom-platforms.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Create a custom dune-workspace to solve for openbsd.
4545
> (libraries foo))
4646
> EOF
4747

48-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
48+
$ dune pkg lock
4949
Solution for dune.lock
5050

5151
Dependencies common to all supported platforms:
@@ -102,7 +102,7 @@ error case.
102102
> (solve_for_platforms))
103103
> EOF
104104

105-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
105+
$ dune pkg lock
106106
File "dune-workspace", line 7, characters 1-22:
107107
7 | (solve_for_platforms))
108108
^^^^^^^^^^^^^^^^^^^^^

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-custom-solver-env.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Set up a project that depends on the package:
4848
> EOF
4949

5050
Solve the project:
51-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
51+
$ dune pkg lock
5252
Solution for dune.lock
5353

5454
Dependencies common to all supported platforms:

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-dedup-manifest-errors.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Create the package "foo" with an invalid opam file:
2424
> invalid opam file
2525
> EOF
2626

27-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
27+
$ dune pkg lock
2828
File "$TESTCASE_ROOT/mock-opam-repository/packages/foo/foo.0.0.1/opam", line 2, characters 8-12:
2929
2 | invalid opam file
3030
^^^^
@@ -37,7 +37,7 @@ Create the package "foo" with an opam file that creates a circular dep with the
3737
> depends: [ "x" ]
3838
> EOF
3939

40-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
40+
$ dune pkg lock
4141
Error: Dune does not support packages outside the workspace depending on
4242
packages in the workspace. The package "foo" is not in the workspace but it
4343
depends on the package "x" which is in the workspace.
@@ -48,7 +48,7 @@ Create the package "foo" with an invalid variable interpolation:
4848
> build: [ "./configure" "--prefix=%{prefix" ]
4949
> EOF
5050
51-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
51+
$ dune pkg lock
5252
File "$TESTCASE_ROOT/mock-opam-repository/packages/foo/foo.0.0.1/opam", line 1, characters 0-0:
5353
Error: Encountered malformed variable interpolation while processing commands
5454
for package foo.0.0.1.
@@ -97,7 +97,7 @@ Add a file to the package but change its permission to not be readable:
9797
Make sure to undo the permission change on exit.
9898
$ trap "chmod +r $pkg_dir/files" EXIT
9999
$ chmod -r $pkg_dir/files
100-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
100+
$ dune pkg lock
101101
Warning: Unable to read directory
102102
mock-opam-repository/packages/foo/foo.0.0.1/files. Ignoring.
103103
Remove this message by ignoring by adding:

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-depexts-basic.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Demonstrate various cases representing depexts in lockfiles.
2121
> (depends foo))
2222
> EOF
2323

24-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
24+
$ dune pkg lock
2525
Solution for dune.lock
2626

2727
Dependencies common to all supported platforms:

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-depexts-pkg-config.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ correct depext names can be chosen for the current distro at build time.
5151
> (depends conf-pkg-config))
5252
> EOF
5353

54-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
54+
$ dune pkg lock
5555
Solution for dune.lock
5656

5757
Dependencies common to all supported platforms:

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-no-solution.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Depend on a pair of packages which can't be coinstalled:
2828
> EOF
2929

3030
Solver error when solving fails with the same error on all platforms:
31-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
31+
$ dune pkg lock
3232
Error:
3333
Unable to solve dependencies while generating lock directory: dune.lock
3434

@@ -56,7 +56,7 @@ Modify the "a" package so the solver error is different on different platforms:
5656

5757
This time there will be two different solver errors. Both will be printed along
5858
with the platforms where they are relevant:
59-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
59+
$ dune pkg lock
6060
Error:
6161
Unable to solve dependencies while generating lock directory: dune.lock
6262

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-package-variable-typo-detection.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Create a workspace with some typos in package variable names
2727
> (allow_empty))
2828
> EOF
2929

30-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
30+
$ dune pkg lock
3131
File "dune-workspace", line 10, characters 4-19:
3232
10 | (os_distribution debian)
3333
^^^^^^^^^^^^^^^

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-partial-solve.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Make a package that is only available on macos.
3232

3333
Solving will still succeed, but there'll be a warning because dune will attempt
3434
to solve for macos, linux, and windows by default.
35-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
35+
$ dune pkg lock
3636
Solution for dune.lock
3737

3838
Dependencies common to all supported platforms:

test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-platform-dependant-dependencies.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ A package that conditionally depends on packages depending on the OS:
5151
> (libraries foo))
5252
> EOF
5353

54-
$ DUNE_CONFIG__PORTABLE_LOCK_DIR=enabled dune pkg lock
54+
$ dune pkg lock
5555
Solution for dune.lock
5656

5757
Dependencies common to all supported platforms:

0 commit comments

Comments
 (0)