Add test case for deps field

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2018-08-04 19:59:16 +03:00
parent b3d87dc163
commit b9cbdd236b
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,3 @@
(alias
(name runtest)
(deps foobar))

View File

@ -0,0 +1 @@
(lang dune 1.1)

View File

@ -12,3 +12,11 @@ Path that needs to be searched:
File "dune", line 3, characters 14-32:
Error: Error: Program foo-does-not-exist not found in the tree or in PATH (context: default)
[1]
Path in deps field of alias stanza
$ dune runtest --root alias-deps-field
Entering directory 'alias-deps-field'
File "dune", line 1, characters 0-38:
Error: No rule found for foobar
[1]