| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
New test script language, all tests translated automatically (see `tools/translate-all-tests`).
|
|
|
|
|
|
| |
Before this commit, ocamltest was using a hard-coded diff command.
With this commit, it rather relies on the diff tool as detected
during the configureation stage.
|
|
|
|
|
| |
Replaces the duplicated C stub. Functions from Unix must be explictly
imported.
|
|
|
|
|
| |
Use the EXE build variable rather than OS type to determine the
extension of executable files
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building for the first time, the only requirement is that generated
header files have been built (jumptbl.h, version.h and opnames.h).
Detailed dependency information is only required when headers have been
edited.
COMPUTE_DEPS in Makefile.config controls whether C dependency
information should be generated on a per-file basis. This variable is
controlled by a new --disable-dependency-generation in configure which
is enabled for Git checkouts and disabled for tarballs (i.e. releases).
The Microsoft C compiler (cl) cannot generate dependencies in a
consistent way which we can consume, so for a Git checkout configure
searches for an additional C compiler in order to compute dependencies.
This is obviously not required for a user-build.
As a result, the MSVC port can now safely run make alldepend, since only
OCaml dependency information is committed to the repo after this change.
CI does not need to waste time testing the dependency information,
because it only tests a single build. A single Travis job has been added
which tests the build system code to generate the dependency information
(and provides a single `make -j` run in CI, although Inria's CI also
tests parallel building continuously).
|
| |
|
| |
|
|
|
|
|
| |
This variable makes the name of the currently executed action available in
the ocamltest environment.
|
|
|
|
|
|
|
|
|
|
| |
This commit is a follow-up to 123334881a82a75f52171a911ba38fb7ffb0afb1.
Its purpose is to make the environments module abstract again,
by moving the parsing mechanism in its own module.
Consequently, the environments module can be linked earlier again (as
was the case before the commit mentionned above) and can thus be
used in other modules.
|
|
|
|
| |
Registering and unregistering global C roots was time consuming.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This option prints all the variables known by ocamltest
|
| |
|
|
|
|
| |
This is used to disable the use of the "-use-runtime" command-line option.
|
| |
|
|
|
|
|
| |
This makes it possible to specify that a program is expected to
return a non-zero exit status
|
|
|
|
|
|
| |
When a toplevel test consists in more than one file, it is necessary to
compile the auxiliary files so that they can then be loaded into the toplevel.
This method stores for each toplevel the compiler to use to do this.
|
| |
|
| |
|
|
|
|
| |
This commit also introduces the ocaml_tools module.
|
|
|
|
|
| |
Builtin_variables.ld_library_path is now
Ocaml_variables.caml_ld_library_path
|
| |
|
|
|
|
| |
Add constructors for the binary files
|
|
|
|
| |
This code is clearly OCaml-specific.
|
|
|
|
|
| |
Use a backend type with only two constructors rather than the one provided
by the stdlib. This avoids having to deal with the "Other" case.
|
|
|
|
|
|
|
|
|
|
|
| |
This module contains types describing test results and functions to
build and use them.
Before this commit, only successful actions were returning an environemnt.
Starting from this commit, actions always return an environemnt, no matter
their result.
This will make it possible to write negations over tests.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
This commit contains:
- The initial version of the tool itself, in the ocamltest directory
- The required additions to the main .gitignore and .merlin files.
The integration of ocamltest in OCaml's main build system and its use
in the testsuite are not part of this commit.
Credits go to David Allsopp for
- Extending the computation of ocamlsrcdir to the Windows case
- Making ocamltest compile when flexlink
is being bootstrapped.
|