Skip to content

Commit

Permalink
reftests: integrate local cache test in url field checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Aug 22, 2023
1 parent 6a5e6fb commit 497939e
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 392 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ users)
### Tests
* Lint: add test for W53, to test extra file with good hash [#5639 @rjbou]
* Add several checksum & cache validation checks for url & extra-source sections, and extra-file field [#5560 @rjbou]
* Move local-cache into url-field-checks test [#5560 @rjbou]

### Engine

Expand Down
18 changes: 0 additions & 18 deletions tests/reftests/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -728,24 +728,6 @@
%{targets}
(run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:list.unix.test} %{read-lines:testing-env}))))

(rule
(alias reftest-local-cache)
(action
(diff local-cache.test local-cache.out)))

(alias
(name reftest)
(deps (alias reftest-local-cache)))

(rule
(targets local-cache.out)
(deps root-N0REP0)
(package opam)
(action
(with-stdout-to
%{targets}
(run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:local-cache.test} %{read-lines:testing-env}))))

(rule
(alias reftest-lock)
(action
Expand Down
Loading

0 comments on commit 497939e

Please sign in to comment.