This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
Testing how the solver handles cycles in an opam repository.
|
||||
|
||||
$ . ./helpers.sh
|
||||
$ mkrepo
|
||||
|
||||
$ mkpkg a <<'EOF'
|
||||
> depends: [ "b" ]
|
||||
> EOF
|
||||
$ mkpkg b <<'EOF'
|
||||
> depends: [ "c" ]
|
||||
> EOF
|
||||
$ mkpkg c <<'EOF'
|
||||
> depends: [ "a" ]
|
||||
> EOF
|
||||
|
||||
Solver doesn't complain about cycles.
|
||||
|
||||
$ solve a
|
||||
Solution for dune.lock:
|
||||
- a.0.0.1
|
||||
- b.0.0.1
|
||||
- c.0.0.1
|
||||
$ solve b
|
||||
Solution for dune.lock:
|
||||
- a.0.0.1
|
||||
- b.0.0.1
|
||||
- c.0.0.1
|
||||
$ solve c
|
||||
Solution for dune.lock:
|
||||
- a.0.0.1
|
||||
- b.0.0.1
|
||||
- c.0.0.1
|
||||
Loading…
Add table
Add a link
Reference in a new issue