diff --git a/test/bin/missing-dune-project/dune b/test/bin/dune similarity index 55% rename from test/bin/missing-dune-project/dune rename to test/bin/dune index e177b0d05..141227d3c 100644 --- a/test/bin/missing-dune-project/dune +++ b/test/bin/dune @@ -1,2 +1,3 @@ (cram + (applies_to :whole_subtree) (deps %{bin:opam-monorepo})) diff --git a/test/bin/missing-dune-project.t/a.opam b/test/bin/missing-dune-project.t/a.opam new file mode 100644 index 000000000..013b84db6 --- /dev/null +++ b/test/bin/missing-dune-project.t/a.opam @@ -0,0 +1 @@ +opam-version: "2.0" diff --git a/test/bin/missing-dune-project.t/b.opam b/test/bin/missing-dune-project.t/b.opam new file mode 100644 index 000000000..013b84db6 --- /dev/null +++ b/test/bin/missing-dune-project.t/b.opam @@ -0,0 +1 @@ +opam-version: "2.0" diff --git a/test/bin/missing-dune-project/run.t b/test/bin/missing-dune-project.t/run.t similarity index 80% rename from test/bin/missing-dune-project/run.t rename to test/bin/missing-dune-project.t/run.t index 1aa19196f..79f06ecb7 100644 --- a/test/bin/missing-dune-project/run.t +++ b/test/bin/missing-dune-project.t/run.t @@ -1,12 +1,10 @@ -Let us setup a simple project with two local packages, defined at the root +We have a simple project with two local packages, defined at the root - $ cat > a.opam << EOF - > opam-version: "2.0" - > EOF + $ cat a.opam + opam-version: "2.0" - $ cat > b.opam << EOF - > opam-version: "2.0" - > EOF + $ cat b.opam + opam-version: "2.0" The project has no dune-project file. That means that if we run `opam-monorepo lock`, it will have more than onw target: `a` and `b`. It therefore has to determine the name of the