Rudi Grinberg
f365e8f157
Improve copy_files test for c files to make sure source is tracked
2017-12-22 08:16:09 +01:00
David Allsopp
5901d7dee3
Update copy_files blackbox test to include C
...
Tests that the the directive emits #line instead of #n.
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-12-22 08:16:09 +01:00
David Allsopp
9d3c0b649c
Fix copy# for Microsoft C compiler
...
Microsoft CL doesn't support #n and requires the more strictly correct
directive #line
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-12-22 08:16:09 +01:00
Rudi Grinberg
7b6db8a3c2
Merge pull request #377 from rgrinberg/reason-test-changes
...
Reason test changes
2017-12-22 11:20:45 +08:00
Jeremie Dimino
3e525d8eec
Vendored usexp and switch to it
2017-12-21 13:13:47 +00:00
Rudi Grinberg
2025f1db58
Improve reason tests
...
Test that modules are actually built by running their code.
2017-12-21 20:20:43 +08:00
Rudi Grinberg
3ac73edb42
move copy-sources for reason tests to own dir
...
So that the originals aren't used accidentally
2017-12-20 17:23:26 +07:00
Rudi Grinberg
bbb6108924
Fix Path.descendent
...
It was broken for local paths with equal length
2017-12-20 09:06:12 +00:00
Rudi Grinberg
9e4390ddc4
Add tests Path.descendent
...
Some of them are failing because it it doesn't work when the paths are equal or
have the same length
2017-12-20 09:06:12 +00:00
Rudi Grinberg
feaca3058b
Merge pull request #374 from rgrinberg/ppx-rewriter-tests
...
Ppx rewriter tests
2017-12-20 12:27:07 +07:00
Rudi Grinberg
347c3d7612
disable ppx_runner test with custom omp runner args
2017-12-19 19:05:37 +07:00
Rudi Grinberg
fad4671fe5
Add ppx_driver to travis
2017-12-19 19:00:50 +07:00
Rudi Grinberg
1793827d0b
Tests for running ppx rewriters
...
Testing changing and interacting with drivers by passing arguments.
2017-12-19 19:00:50 +07:00
Rudi Grinberg
3cae475486
Add some reason tests wrt to ppx preprocessing ( #375 )
...
Add some reason tests wrt to ppx preprocessing
2017-12-19 19:49:06 +08:00
Rudi Grinberg
2f8d95cdeb
Merge pull request #373 from rgrinberg/reason-preprocess-fix
...
Reason preprocess fix
2017-12-18 23:25:10 +08:00
Jeremie Dimino
f154dc2122
Update changelog
2017-12-18 13:31:21 +00:00
Jeremie Dimino
d661f74c46
Skip 4.02.3 for the multiple-private-libs test
2017-12-18 13:30:49 +00:00
Jeremie Dimino
18d8cb847d
Fix the test added in the previous commit
2017-12-18 13:30:49 +00:00
Jeremie Dimino
f534387ef6
Add a test exposing a name clash
...
When several private libraries have the same name, jbuilder crashes.
2017-12-18 13:30:49 +00:00
Rudi Grinberg
4570020ce7
Fix reason preprocessing
...
and previously failed test
2017-12-18 20:52:52 +08:00
Rudi Grinberg
91e96316b2
Add failing reason for reason preprocessing
2017-12-18 20:51:16 +08:00
Rudi Grinberg
8d0efa347c
Merge pull request #364 from rgrinberg/update-opam-file-tests
...
Update opam file for tests
2017-12-17 22:56:14 +08:00
Rudi Grinberg
5b0ef635ac
Update opam file for tests
...
Add test commands and test dependencies
2017-12-17 19:15:33 +08:00
Rudi Grinberg
141cd1da4a
Merge pull request #367 from aantron/odoc-no-target-specific-code
...
odoc: don't generate raw HTML and level 1 headings
2017-12-17 17:53:14 +08:00
Anton Bachin
eb05f4f643
Place module list on its own line
...
The markup emitted by Jbuilder treated module lists as inline elements
that can appear inside a line. However, neither ocamldoc nor odoc render
module lists as inline elements. They are instead block elements, that
are laid out vertically, like lists or paragraphs. Correspondingly, odoc
now rejects inline module list markup.
A side effect of the (rejected) misconception is that there was a stray
period appearing on its own line in every module list generated by
Jbuilder. This is now fixed.
2017-12-16 14:27:36 -06:00
Anton Bachin
0aa6faa145
odoc: don't generate raw HTML and level 1 headings
...
This page generation code really should be moved to odoc, however.
2017-12-16 14:07:51 -06:00
Rudi Grinberg
b7dd41fc6e
Add blackbox test for select construct ( #363 )
2017-12-13 14:34:35 +08:00
Rudi Grinberg
2cab60b150
Update changelog ( #361 )
2017-12-12 23:43:29 +08:00
Xavier Clerc
2be876cb49
Availability of "num" depends on the OCaml version ( #358 )
2017-12-11 13:05:20 +00:00
Rudi Grinberg
a265889400
Mention ppxfind in docs ( #357 )
2017-12-11 19:40:54 +08:00
Rudi Grinberg
058643608c
Jbuilder exec rebuilt if possible option ( #345 )
...
Make jbuilder exec build its target
Jbuilder will now attempt to rebuild the target before executing it. This option can be turned off by passing in --no-build
2017-12-11 18:23:07 +08:00
Rudi Grinberg
e373e67c12
Merge pull request #352 from rgrinberg/odoc-tests
...
Odoc tests
2017-12-11 14:50:29 +08:00
Rudi Grinberg
1544e26fdc
Add odoc as a test dependency for travis
2017-12-11 14:08:38 +08:00
Rudi Grinberg
d53f26c841
Add odoc generation tests
2017-12-11 14:08:06 +08:00
Rudi Grinberg
451a6d34af
Add support for conditional execution to cram
...
We'd like the ability to skip tests on certain versions of OCaml that don't
support what is being tested.
2017-12-11 14:07:09 +08:00
Rudi Grinberg
039c7043b9
Merge pull request #356 from rgrinberg/reason-tests
...
Reason tests
2017-12-11 14:05:23 +08:00
Rudi Grinberg
0e9c9b0cd5
Add reason to tests
2017-12-11 01:38:49 +08:00
Rudi Grinberg
0863c1d941
Reason black box tests
...
Test the following scenarios:
* reason source, reason interface
* reason source, ocaml interface
* ocaml source, reason interface
* preprocessed reason sources
* rei files are included in the .install file
2017-12-10 23:25:21 +08:00
Rudi Grinberg
4bc5189d5a
Merge pull request #349 from rgrinberg/install-file-test-suite
...
black box tests for .install file generation
2017-12-06 15:49:23 +08:00
Rudi Grinberg
5647ae83b0
black box tests for .install file generation
2017-12-05 20:37:46 +08:00
François Bobot
b957e7d2dd
Merge pull request #347 from rgrinberg/ocaml-syntax-tests
...
Simple test for the ocaml syntax for jbuild files
2017-12-04 10:12:16 +01:00
Rudi Grinberg
c815ea6f20
Simple test for the ocaml syntax for jbuild files
2017-12-03 20:29:44 +08:00
Rudi Grinberg
a0c2ed942b
Merge pull request #343 from rgrinberg/fix-ppx-recompile
...
Fix incremental compilation with ppx's
2017-12-02 21:27:04 +08:00
François Bobot
13fed1f1ce
Merge pull request #339 from rgrinberg/fix-jbuilder-exec-utop
...
Fix jbuilder exec from sub dirs & utop
2017-12-01 13:41:21 +01:00
Rudi Grinberg
9983b3e7bd
Add tests for meta generation ( #344 )
...
Try to test as many aspects as possible: dependencies, synopsis, ppx, etc.
2017-11-29 16:22:37 +08:00
Rudi Grinberg
785beeafac
Add option to force running tests ( #320 )
...
Option to force running tests
The mechanism allows for forcing any alias, but only forcing tests is exposed to the user. Aliases are forced by deleting all the alias files that belong to a particular alias. The option for forcing tests is called --force.
2017-11-28 19:03:22 +08:00
Rudi Grinberg
6f498db212
Fix incremental compilation with ppx's
...
Same fix as 6a3c51c358
but also for ppx's
2017-11-27 21:14:24 +08:00
Jeremie Dimino
68ddb1251d
Add link to introduction video
2017-11-26 19:12:23 +00:00
Rudi Grinberg
7a30bbf8ea
Use absolute paths for lib paths in utop
...
This makes $ jbuilder utop usable from sub directories
2017-11-25 23:25:26 +08:00
Jeremie Dimino
ce0ecaf9e0
Restore cwd before execve
2017-11-25 23:25:13 +08:00