Skip to content

Commit 6896c6a

Browse files
authored
Merge pull request #7358 from haskell/strip-dogfooding-framework
Expose cabal-install lib, remove dogfooding, expose cabal-install-solver as own lib, enable HPC coverage reporting.
2 parents 8ddd5bb + 7d1fd6b commit 6896c6a

File tree

93 files changed

+1327
-2574
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1327
-2574
lines changed

.github/workflows/artifacts.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- uses: actions/checkout@v2
2828
- name: Package project
2929
run: |
30-
cabal v2-sdist --builddir=sdist Cabal cabal-install
31-
python3.8 release.py --tarlib=sdist/sdist/Cabal-*.tar.gz --tarexe=sdist/sdist/cabal-install-*.tar.gz
30+
cabal v2-sdist --builddir=sdist Cabal cabal-install-solver cabal-install
31+
python3.8 release.py --tarlib=sdist/sdist/Cabal-*.tar.gz --tarsolver=sdist/sdist/cabal-install-solver-3.*.tar.gz --tarexe=sdist/sdist/cabal-install-3.*.tar.gz
3232
- uses: actions/upload-artifact@v2
3333
with:
3434
name: cabal-linux
@@ -62,8 +62,8 @@ jobs:
6262
- uses: actions/checkout@v2
6363
- name: Package project
6464
run: |
65-
cabal v2-sdist --builddir=sdist Cabal cabal-install
66-
python3 release.py --tarlib=sdist/sdist/Cabal-*.tar.gz --tarexe=sdist/sdist/cabal-install-*.tar.gz
65+
cabal v2-sdist --builddir=sdist Cabal cabal-install-solver cabal-install
66+
python3 release.py --tarlib=sdist/sdist/Cabal-*.tar.gz --tarsolver=sdist/sdist/cabal-install-solver-3.*.tar.gz --tarexe=sdist/sdist/cabal-install-3.*.tar.gz
6767
- uses: actions/upload-artifact@v2
6868
with:
6969
name: cabal-macos
@@ -93,9 +93,9 @@ jobs:
9393
- name: Package project
9494
# We hardcode version 3 here to make first glob not overlap with cabal-install
9595
run: |
96-
cabal v2-sdist --builddir=sdist Cabal cabal-install
96+
cabal v2-sdist --builddir=sdist Cabal cabal-install-solver cabal-install
9797
New-Item -Path "_build" -ItemType "directory"
98-
python release.py --tarlib=$(Resolve-Path -Path sdist/sdist/Cabal-3.*.tar.gz) --tarexe=$(Resolve-Path -Path sdist/sdist/cabal-install-3.*.tar.gz)
98+
python release.py --tarlib=$(Resolve-Path -Path sdist/sdist/Cabal-3.*.tar.gz) --tarsolver=$(Resolve-Path -Path sdist/sdist/cabal-install-solver-3.*.tar.gz) --tarexe=$(Resolve-Path -Path sdist/sdist/cabal-install-3.*.tar.gz)
9999
- uses: actions/upload-artifact@v2
100100
with:
101101
name: cabal-windows

.github/workflows/linux.yml

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ jobs:
9393
run: sh validate.sh -j 2 -w ghc-8.10.1 -v -s print-config
9494
- name: Validate print-tool-versions
9595
run: sh validate.sh -j 2 -w ghc-8.10.1 -v -s print-tool-versions
96-
- name: Validate make-cabal-install-dev
97-
run: sh validate.sh -j 2 -w ghc-8.10.1 -v -s make-cabal-install-dev
9896
- name: Validate build
9997
run: sh validate.sh -j 2 -w ghc-8.10.1 -v -s build
10098
- name: Validate lib-tests
@@ -140,8 +138,6 @@ jobs:
140138
run: sh validate.sh -j 2 -w ghc-8.8.3 -v --solver-benchmarks -s print-config
141139
- name: Validate print-tool-versions
142140
run: sh validate.sh -j 2 -w ghc-8.8.3 -v --solver-benchmarks -s print-tool-versions
143-
- name: Validate make-cabal-install-dev
144-
run: sh validate.sh -j 2 -w ghc-8.8.3 -v --solver-benchmarks -s make-cabal-install-dev
145141
- name: Validate build
146142
run: sh validate.sh -j 2 -w ghc-8.8.3 -v --solver-benchmarks -s build
147143
- name: Validate lib-tests
@@ -188,8 +184,6 @@ jobs:
188184
run: sh validate.sh -j 2 -w ghc-8.6.5 -v --complete-hackage-tests -s print-config
189185
- name: Validate print-tool-versions
190186
run: sh validate.sh -j 2 -w ghc-8.6.5 -v --complete-hackage-tests -s print-tool-versions
191-
- name: Validate make-cabal-install-dev
192-
run: sh validate.sh -j 2 -w ghc-8.6.5 -v --complete-hackage-tests -s make-cabal-install-dev
193187
- name: Validate build
194188
run: sh validate.sh -j 2 -w ghc-8.6.5 -v --complete-hackage-tests -s build
195189
- name: Validate lib-tests
@@ -236,8 +230,6 @@ jobs:
236230
run: sh validate.sh -j 2 -w ghc-8.4.4 -v -s print-config
237231
- name: Validate print-tool-versions
238232
run: sh validate.sh -j 2 -w ghc-8.4.4 -v -s print-tool-versions
239-
- name: Validate make-cabal-install-dev
240-
run: sh validate.sh -j 2 -w ghc-8.4.4 -v -s make-cabal-install-dev
241233
- name: Validate build
242234
run: sh validate.sh -j 2 -w ghc-8.4.4 -v -s build
243235
- name: Validate lib-tests
@@ -284,8 +276,6 @@ jobs:
284276
run: sh validate.sh -j 2 -w ghc-8.2.2 -v -s print-config
285277
- name: Validate print-tool-versions
286278
run: sh validate.sh -j 2 -w ghc-8.2.2 -v -s print-tool-versions
287-
- name: Validate make-cabal-install-dev
288-
run: sh validate.sh -j 2 -w ghc-8.2.2 -v -s make-cabal-install-dev
289279
- name: Validate build
290280
run: sh validate.sh -j 2 -w ghc-8.2.2 -v -s build
291281
- name: Validate lib-tests
@@ -329,21 +319,15 @@ jobs:
329319
git fetch origin $GITHUB_SHA:temporary-ci-branch
330320
git checkout $GITHUB_SHA || (git fetch && git checkout $GITHUB_SHA)
331321
- name: Validate print-config
332-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s print-config
322+
run: sh validate.sh -j 2 -w ghc-8.0.2 -v --lib-only -s print-config
333323
- name: Validate print-tool-versions
334-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s print-tool-versions
335-
- name: Validate make-cabal-install-dev
336-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s make-cabal-install-dev
324+
run: sh validate.sh -j 2 -w ghc-8.0.2 -v --lib-only -s print-tool-versions
337325
- name: Validate build
338-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s build
326+
run: sh validate.sh -j 2 -w ghc-8.0.2 -v --lib-only -s build
339327
- name: Validate lib-tests
340-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s lib-tests
328+
run: sh validate.sh -j 2 -w ghc-8.0.2 -v --lib-only -s lib-tests
341329
- name: Validate lib-suite
342-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s lib-suite
343-
- name: Validate cli-tests
344-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s cli-tests
345-
- name: Validate cli-suite
346-
run: sh validate.sh -j 2 -w ghc-8.0.2 -v -s cli-suite
330+
run: sh validate.sh -j 2 -w ghc-8.0.2 -v --lib-only -s lib-suite
347331
validate-7_10_3:
348332
name: validate.sh ghc-7.10.3
349333
runs-on: ubuntu-18.04
@@ -377,21 +361,15 @@ jobs:
377361
git fetch origin $GITHUB_SHA:temporary-ci-branch
378362
git checkout $GITHUB_SHA || (git fetch && git checkout $GITHUB_SHA)
379363
- name: Validate print-config
380-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s print-config
364+
run: sh validate.sh -j 2 -w ghc-7.10.3 -v --lib-only -s print-config
381365
- name: Validate print-tool-versions
382-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s print-tool-versions
383-
- name: Validate make-cabal-install-dev
384-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s make-cabal-install-dev
366+
run: sh validate.sh -j 2 -w ghc-7.10.3 -v --lib-only -s print-tool-versions
385367
- name: Validate build
386-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s build
368+
run: sh validate.sh -j 2 -w ghc-7.10.3 -v --lib-only -s build
387369
- name: Validate lib-tests
388-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s lib-tests
370+
run: sh validate.sh -j 2 -w ghc-7.10.3 -v --lib-only -s lib-tests
389371
- name: Validate lib-suite
390-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s lib-suite
391-
- name: Validate cli-tests
392-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s cli-tests
393-
- name: Validate cli-suite
394-
run: sh validate.sh -j 2 -w ghc-7.10.3 -v -s cli-suite
372+
run: sh validate.sh -j 2 -w ghc-7.10.3 -v --lib-only -s lib-suite
395373
validate-7_8_4:
396374
name: validate.sh ghc-7.8.4
397375
runs-on: ubuntu-18.04

.github/workflows/macos.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ jobs:
5757
run: sh validate.sh -j 2 -w ghc-8.8.3 -v -s print-config
5858
- name: Validate print-tool-versions
5959
run: sh validate.sh -j 2 -w ghc-8.8.3 -v -s print-tool-versions
60-
- name: Validate make-cabal-install-dev
61-
run: sh validate.sh -j 2 -w ghc-8.8.3 -v -s make-cabal-install-dev
6260
- name: Validate build
6361
run: sh validate.sh -j 2 -w ghc-8.8.3 -v -s build
6462
- name: Validate lib-tests
@@ -112,8 +110,6 @@ jobs:
112110
run: sh validate.sh -j 2 -w ghc-8.6.5 -v -s print-config
113111
- name: Validate print-tool-versions
114112
run: sh validate.sh -j 2 -w ghc-8.6.5 -v -s print-tool-versions
115-
- name: Validate make-cabal-install-dev
116-
run: sh validate.sh -j 2 -w ghc-8.6.5 -v -s make-cabal-install-dev
117113
- name: Validate build
118114
run: sh validate.sh -j 2 -w ghc-8.6.5 -v -s build
119115
- name: Validate lib-tests

.github/workflows/quick-jobs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
make -B spdx
4242
make -B templates
4343
make -B github-actions
44-
make -B cabal-install-cabal
4544
- name: Check that diff is clean
4645
run: |
4746
git status > /dev/null

.github/workflows/windows.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ jobs:
3737
- name: Update Hackage index
3838
run: cabal v2-update
3939
- uses: actions/checkout@v2
40-
- name: make cabal-install-dev
41-
run: cp cabal-install/cabal-install.cabal.dev cabal-install/cabal-install.cabal
4240
# We cannot ask for all dependencies, but we can for Cabal.
4341
- name: cabal v2-build Cabal --only-dependencies
4442
run: cabal v2-build Cabal --only-dependencies
@@ -51,10 +49,10 @@ jobs:
5149
run: |
5250
cd cabal-install
5351
cabal v2-run cabal-install:memory-usage-tests
54-
- name: cabal-install solver-quickcheck
52+
- name: cabal-install long-tests
5553
run: |
5654
cd cabal-install
57-
cabal v2-run cabal-install:solver-quickcheck
55+
cabal v2-run cabal-install:long-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
5856
- name: cabal-install integration-tests2
5957
run: |
6058
cd cabal-install
@@ -87,8 +85,6 @@ jobs:
8785
- name: Update Hackage index
8886
run: cabal v2-update
8987
- uses: actions/checkout@v2
90-
- name: make cabal-install-dev
91-
run: cp cabal-install/cabal-install.cabal.dev cabal-install/cabal-install.cabal
9288
# We cannot ask for all dependencies, but we can for Cabal.
9389
- name: cabal v2-build Cabal --only-dependencies
9490
run: cabal v2-build Cabal --only-dependencies
@@ -101,10 +97,10 @@ jobs:
10197
run: |
10298
cd cabal-install
10399
cabal v2-run cabal-install:memory-usage-tests
104-
- name: cabal-install solver-quickcheck
100+
- name: cabal-install long-tests
105101
run: |
106102
cd cabal-install
107-
cabal v2-run cabal-install:solver-quickcheck
103+
cabal v2-run cabal-install:long-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
108104
- name: cabal-install integration-tests2
109105
run: |
110106
cd cabal-install

CONTRIBUTING.md

Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -26,54 +26,23 @@ cabal v2-build Cabal:unit-tests # build Cabal's unit test suite
2626
cabal v2-build cabal-tests # etc...
2727
~~~~
2828

29-
**Dogfooding HEAD.**
30-
Many of the core developers of Cabal dogfood `cabal-install` HEAD
31-
when doing development on Cabal. This helps us identify bugs
32-
which were missed by the test suite and easily experiment with new
33-
features.
34-
35-
The recommended workflow in this case is slightly different: you will
36-
maintain two Cabal source trees: your production tree (built with a
37-
released version of Cabal) which always tracks `master` and which you
38-
update only when you want to move to a new version of Cabal to dogfood,
39-
and your development tree (built with your production Cabal) that you
40-
actually do development on.
41-
42-
In more detail, suppose you have checkouts of Cabal at `~/cabal-prod`
43-
and `~/cabal-dev`, and you have a release copy of cabal installed at
44-
`/opt/cabal/2.4/bin/cabal`. First, build your production tree:
45-
46-
~~~~
47-
cd ~/cabal-prod
48-
/opt/cabal/2.4/bin/cabal v2-build cabal
49-
~~~~
50-
51-
This will produce a cabal binary (see also: [Where are my build products?](http://cabal.readthedocs.io/en/latest/nix-local-build.html#where-are-my-build-products)
52-
). Add this binary to your PATH,
53-
and then use it to build your development copy:
54-
55-
~~~~
56-
cd ~/cabal-dev
57-
cabal v2-build cabal
58-
~~~~
59-
6029
Running tests
6130
-------------
6231

63-
**Using Travis and AppVeyor.**
32+
**Using Github Actions and AppVeyor.**
6433
If you are not in a hurry, the most convenient way to run tests on Cabal
6534
is to make a branch on GitHub and then open a pull request; our
66-
continuous integration service on Travis and AppVeyor will build and
35+
continuous integration service on Github Actions and AppVeyor will build and
6736
test your code. Title your PR with WIP so we know that it does not need
6837
code review.
6938

70-
Some tips for using Travis effectively:
39+
Some tips for using Github Actions effectively:
7140

72-
* Travis builds take a long time. Use them when you are pretty
41+
* Github Actions builds take a long time. Use them when you are pretty
7342
sure everything is OK; otherwise, try to run relevant tests locally
7443
first.
7544

76-
* Watch over your jobs on the [Travis website](http://travis-ci.org).
45+
* Watch over your jobs on the [Github Actions website](http://github.org/haskell/cabal/actions).
7746
If you know a build of yours is going to fail (because one job has
7847
already failed), be nice to others and cancel the rest of the jobs,
7948
so that other commits on the build queue can be processed.
@@ -97,10 +66,9 @@ failures:
9766
a specific operating system? If so, try reproducing the
9867
problem on the specific configuration.
9968

100-
4. Is the test failing on a Travis per-GHC build
101-
([for example](https://travis-ci.org/haskell-pushbot/cabal-binaries/builds/208128401))?
69+
4. Is the test failing on a Github Actions per-GHC build.
10270
In this case, if you click on "Branch", you can get access to
103-
the precise binaries that were built by Travis that are being
71+
the precise binaries that were built by Github Actions that are being
10472
tested. If you have an Ubuntu system, you can download
10573
the binaries and run them directly.
10674

@@ -137,21 +105,16 @@ There are also other test suites:
137105
on some utility functions in cabal-install you should run this test
138106
suite.
139107

140-
* `cabal-install:solver-quickcheck` are QuickCheck tests on
141-
cabal-install's dependency solver. If you are working
142-
on the solver you should run this test suite.
108+
* `cabal-install:long-tests` are QuickCheck tests on
109+
cabal-install's dependency solver, VCS, and file monitoring code.
110+
If you are working on the solver you should run this test suite.
143111

144112
* `cabal-install:integration-tests2` are integration tests on some
145113
top-level API functions inside the `cabal-install` source code.
146114

147115
For these test executables, `-p` which applies a regex filter to the test
148-
names.
149-
150-
**Testing `cabal-install` Locally**
151-
152-
If you are testing `cabal-install` locally, you may refer to its [TESTING.md](cabal-install/TESTING.md) for
153-
instructions on how to use the `Makefile` to produce the appropriate `.cabal` file
154-
with test targets. From there, you may add tests in the usual way.
116+
names. When running `cabal-install` test suites, one need only use `cabal test` or
117+
`cabal run <test-target>` in order to test locally.
155118

156119

157120
Conventions

Makefile

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.PHONY : all lexer sdpx lib exe doctest
2-
.PHONY : cabal-install-dev cabal-install-prod
32
.PHONY : phony
43

54
CABALBUILD := cabal v2-build
@@ -67,24 +66,6 @@ buildinfo-fields-reference : phony
6766
cabal build --builddir=dist-newstyle-bi --project-file=cabal.project.buildinfo buildinfo-reference-generator
6867
$$(cabal-plan list-bin --builddir=dist-newstyle-bi buildinfo-reference-generator) buildinfo-reference-generator/template.zinza | tee $@
6968

70-
# cabal-install.cabal file generation
71-
72-
cabal-install-cabal : phony cabal-install/cabal-install.cabal.dev cabal-install/cabal-install.cabal.prod
73-
74-
cabal-install/cabal-install.cabal.dev : cabal-install/cabal-install.cabal.zinza
75-
cabal v2-run --builddir=dist-newstyle-meta --project-file=cabal.project.meta gen-cabal-install-cabal -- True cabal-install/cabal-install.cabal.zinza cabal-install/cabal-install.cabal.dev
76-
77-
cabal-install/cabal-install.cabal.prod : cabal-install/cabal-install.cabal.zinza
78-
cabal v2-run --builddir=dist-newstyle-meta --project-file=cabal.project.meta gen-cabal-install-cabal -- False cabal-install/cabal-install.cabal.zinza cabal-install/cabal-install.cabal.prod
79-
80-
cabal-install-prod : cabal-install/cabal-install.cabal.prod
81-
cp cabal-install/cabal-install.cabal.prod cabal-install/cabal-install.cabal
82-
83-
cabal-install-dev : cabal-install/cabal-install.cabal.dev
84-
cp cabal-install/cabal-install.cabal.dev cabal-install/cabal-install.cabal
85-
@echo "tell git to ignore changes to cabal-install.cabal:"
86-
@echo "git update-index --assume-unchanged cabal-install/cabal-install.cabal"
87-
8869
# analyse-imports
8970
analyse-imports : phony
9071
find Cabal/src cabal-install/src -type f -name '*.hs' | xargs cabal v2-run --builddir=dist-newstyle-meta --project-file=cabal.project.meta analyse-imports --
@@ -115,7 +96,7 @@ doctest :
11596

11697
# This is not run as part of validate.sh (we need hackage-security, which is tricky to get).
11798
doctest-cli :
118-
doctest -D__DOCTEST__ --fast cabal-install/src cabal-install/cabal-install-solver/src cabal-install/cabal-install-solver/src-assertion
99+
doctest -D__DOCTEST__ --fast cabal-install/src cabal-install-solver/src cabal-install-solver/src-assertion
119100

120101
# tests
121102

@@ -237,17 +218,17 @@ bootstrap-plans-linux: phony
237218
@if [ $$(uname) != "Linux" ]; then echo "Not Linux"; false; fi
238219
cabal v2-build --project=cabal.project.release --with-compiler ghc-8.6.5 --dry-run cabal-install:exe:cabal
239220
cp dist-newstyle/cache/plan.json bootstrap/linux-8.6.5.plan.json
240-
cabal v2-build --project=cabal.project.release --with-compiler ghc-8.8.3 --dry-run cabal-install:exe:cabal
241-
cp dist-newstyle/cache/plan.json bootstrap/linux-8.8.3.plan.json
242-
cabal v2-build --project=cabal.project.release --with-compiler ghc-8.10.1 --dry-run cabal-install:exe:cabal
243-
cp dist-newstyle/cache/plan.json bootstrap/linux-8.10.1.plan.json
221+
cabal v2-build --project=cabal.project.release --with-compiler ghc-8.8.4 --dry-run cabal-install:exe:cabal
222+
cp dist-newstyle/cache/plan.json bootstrap/linux-8.8.4.plan.json
223+
cabal v2-build --project=cabal.project.release --with-compiler ghc-8.10.4 --dry-run cabal-install:exe:cabal
224+
cp dist-newstyle/cache/plan.json bootstrap/linux-8.10.4.plan.json
244225

245226
bootstrap-jsons-linux: phony
246227
@if [ $$(uname) != "Linux" ]; then echo "Not Linux"; false; fi
247228
cabal v2-build --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen
248-
cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.6.5.plan.json | python -m json.tool | tee bootstrap/linux-8.6.5.json
249-
cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.8.3.plan.json | python -m json.tool | tee bootstrap/linux-8.8.3.json
250-
cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.10.1.plan.json | python -m json.tool | tee bootstrap/linux-8.10.1.json
229+
cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.6.5.plan.json | python3 -m json.tool | tee bootstrap/linux-8.6.5.json
230+
cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.8.4.plan.json | python3 -m json.tool | tee bootstrap/linux-8.8.4.json
231+
cabal v2-run -vnormal+stderr --builddir=dist-newstyle-bootstrap --project=cabal.project.bootstrap cabal-bootstrap-gen -- bootstrap/linux-8.10.4.plan.json | python3 -m json.tool | tee bootstrap/linux-8.10.4.json
251232

252233
# documentation
253234
##############################################################################

appveyor.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ cache:
4747
- "C:\\sr"
4848

4949
build_script:
50-
- cp cabal-install/cabal-install.cabal.dev cabal-install/cabal-install.cabal
5150
- cabal %CABOPTS% v2-configure --enable-tests
5251
- appveyor-retry cabal %CABOPTS% v2-build lib:Cabal --only-dependencies
5352
- cabal %CABOPTS% v2-build lib:Cabal
@@ -59,6 +58,6 @@ build_script:
5958
- appveyor-retry cabal %CABOPTS% v2-build cabal-install:tests --only-dependencies
6059
- cd cabal-install
6160
- cabal %CABOPTS% v2-run cabal-install:memory-usage-tests
62-
- cabal %CABOPTS% v2-run cabal-install:solver-quickcheck
61+
- cabal %CABOPTS% v2-run cabal-install:long-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
6362
- cabal %CABOPTS% v2-run cabal-install:integration-tests2
6463
- cabal %CABOPTS% v2-run cabal-install:unit-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"

0 commit comments

Comments
 (0)