testsuite/HACKING.adoc
parent
4c04dee041
commit
0e72af57b8
10
HACKING.adoc
10
HACKING.adoc
|
@ -169,19 +169,19 @@ has excellent documentation.
|
|||
driver/:: driver code for the compilers
|
||||
emacs/:: editing mode and debugger interface for GNU Emacs
|
||||
experimental/:: experiments not built by default
|
||||
flexdll/:: git submodule (see link:README.win32.adoc[])
|
||||
flexdll/:: git submodule -- see link:README.win32.adoc[]
|
||||
lex/:: lexer generator
|
||||
man/:: man pages
|
||||
manual/:: system to generate the manual
|
||||
middle_end/:: the flambda optimisation phase
|
||||
ocamldoc/:: documentation generator
|
||||
otherlibs/:: several additional libraries
|
||||
parsing/:: syntax analysis
|
||||
parsing/:: syntax analysis -- see link:parsing/HACKING.adoc[]
|
||||
stdlib/:: standard library
|
||||
testsuite/:: tests
|
||||
testsuite/:: tests -- see link:testsuite/HACKING.adoc[]
|
||||
tools/:: various utilities
|
||||
toplevel/:: interactive system
|
||||
typing/:: typechecking
|
||||
typing/:: typechecking -- see link:typing/HACKING.adoc[]
|
||||
utils/:: utility libraries
|
||||
yacc/:: parser generator
|
||||
|
||||
|
@ -208,6 +208,8 @@ installation, the following targets may be of use:
|
|||
|
||||
`make depend`:: Regenerate the `.depend` file. Should be used each time new dependencies are added between files.
|
||||
|
||||
`make -C testsuite parallel`:: see link:testsuite/HACKING.adoc[]
|
||||
|
||||
=== Bootstrapping
|
||||
|
||||
The OCaml compiler is bootstrapped. This means that
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
== Running the testsuite
|
||||
|
||||
== Creating a new test
|
||||
|
||||
== Useful Makefile targets
|
||||
|
||||
`make parallel`:: runs the tests in parallel using the link:https://www.gnu.org/software/parallel/[GNU parallel] tool: tests run twice as fast with no difference in output order.
|
||||
|
||||
`make all-foo`, `make parallel-foo`:: runs only the tests in the directories whose name starts with `foo`: `parallel-typing`, `all-lib`, etc.
|
||||
|
||||
`make one DIR=tests/foo`:: runs only the tests in the directory `tests/foo`. This is often equivalent to `cd tests/foo && make`, but sometimes the latter breaks the test makefile if it contains fragile relative filesystem paths. Such errors should be fixed if you find them, but `make one DIR=...` is the more reliable option as it runs exactly as `make all` which is heavily tested.
|
Loading…
Reference in New Issue