Skip to content

Commit

Permalink
reftest: add test for variables resolutions in filter, for all fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Sep 20, 2023
1 parent b0cb137 commit d53f6f9
Show file tree
Hide file tree
Showing 3 changed files with 1,090 additions and 0 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ users)
* Move local-cache into archive-field-checks test [#5560 @rjbou]
* Admin: add `admin add-extrafiles` test cases [#5647 @rjbou]
* Add download test, to check `OPAMCURL/OPAMFETCH` handling [#5607 @rjbou]
* Add test for variables resolution in filters, for all fields [#5643 @rjbou]

### Engine
* With real path resolved for all opam temp dir, remove `/private` from mac temp dir regexp [#5654 @rjbou]
Expand Down
18 changes: 18 additions & 0 deletions tests/reftests/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,24 @@
%{targets}
(run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:extrasource.test} %{read-lines:testing-env}))))

(rule
(alias reftest-filter-variable-resolution)
(action
(diff filter-variable-resolution.test filter-variable-resolution.out)))

(alias
(name reftest)
(deps (alias reftest-filter-variable-resolution)))

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

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

0 comments on commit d53f6f9

Please sign in to comment.