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 Aug 24, 2023
1 parent 6fa193a commit 0f61464
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 @@ -98,6 +98,7 @@ users)
## Reftests
### Tests
* Lint: add test for W53, to test extra file with good hash [#5639 @rjbou]
* Add test for variables resolution in filters, for all fields [#5643 @rjbou]

### Engine

Expand Down
18 changes: 18 additions & 0 deletions tests/reftests/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,24 @@
%{targets}
(run ./run.exe %{exe:../../src/client/opamMain.exe.exe} %{dep:env.win32.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 0f61464

Please sign in to comment.