Merge pull request #1037 from rgrinberg/update-tests-workspace

Add missing dune-project files to tests
This commit is contained in:
Rudi Grinberg 2018-07-20 15:20:43 +02:00 committed by GitHub
commit 4aad02de6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@ -1,7 +1,6 @@
fallback isn't allowed in dune
$ dune build --root dune1
Info: creating file dune-project with this contents: (lang dune 1.0)
File "dune", line 2, characters 1-11:
Error: 'fallback' was renamed to '(mode fallback)' in the 1.0 version of the dune language
[1]
@ -9,7 +8,6 @@ fallback isn't allowed in dune
2nd fallback form isn't allowed either
$ dune build --root dune2
Info: creating file dune-project with this contents: (lang dune 1.0)
File "dune", line 2, characters 1-17:
Error: 'fallback' was renamed to '(mode fallback)' in the 1.0 version of the dune language
[1]

View File

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

View File

@ -2,7 +2,6 @@ we're getting an acceptable error message when adding a macro form in an
inappropariate place:
$ dune build
Info: creating file dune-project with this contents: (lang dune 1.0)
File "dune", line 1, characters 14-21:
Error: %{read:..} isn't allowed in this position
[1]

View File

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

View File

@ -1,6 +1,5 @@
$ echo '(jbuild_version 1)' > dune
$ dune build
Info: creating file dune-project with this contents: (lang dune 1.0)
File "dune", line 1, characters 0-18:
Error: 'jbuild_version' was deleted in version 1.0 of the dune language
[1]

View File

@ -43,7 +43,6 @@ a bit hard to test since it requires mocking more than one context. But we can
see how we can set a "native" target. Which is the default.
$ dune exec ./foo.exe --root targets-native
Info: creating file dune-project with this contents: (lang dune 1.0)
Entering directory 'targets-native'
Entering directory 'targets-native'
message from targets-native test

View File

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