Commit Graph

11 Commits (master)

Author SHA1 Message Date
Mark Shinwell 0933593596 Fix ppc64 TOC load for exception handler addresses (#8506)
The address was loaded from the TOC into register r0.  This generated  bad code in the "big TOC" case, as r0 was used as index register.  The fix is to use another temporary register instead of r0.
Add "arch_power" builtin to ocamltest.
Add test case.
2019-03-18 13:31:57 +01:00
David Allsopp d889a0279a Add hasunix ocamltest action
This test is skipped if *neither* unix nor win32unix have been built.
2019-01-08 17:27:42 +01:00
Sébastien Hinderer fab457a8f5 ocamltest: implement the has_symlink test
Lets one test whether symlinks are available on the target platform
2018-03-16 07:40:58 +01:00
Sébastien Hinderer 214cbd5b0c ocamltest: add the arch32 and arch64 actions
These actions pass on 32/64 bits architectures
2018-03-06 14:40:36 +01:00
Sébastien Hinderer c04cecc07e ocamltest: clarify the builtin tests a bit
This commit distinguishes the OS tests from the library tests.

It introduces the "libunix" and "libwin32unix" tests to figure out which
library is used.

It also changes to meaning of the "windows" test to pass on all Windows platforms.

Finally, a "not-windows" test is introduced, to be used until negation
on tests is implemented.
2018-02-06 11:48:55 +01:00
Sébastien Hinderer 5229928c62 ocamltest: add actions to test whether we are running on a BSD system 2018-02-05 14:48:56 +01:00
Sébastien Hinderer e801cc6269 ocamltest: re-implement the expect test 2017-12-08 19:16:42 +01:00
Sébastien Hinderer f0b9b8e9c4 ocamltest: refactoring and implementation of hooks 2017-11-23 17:04:46 +01:00
Sébastien Hinderer cee23d79a9 ocamltest: add actions to test whether tests are run on Unix or Windows 2017-10-09 17:09:53 +02:00
Sébastien Hinderer 6bf807936a ocamltest: add builtin actions to always pass, skip or fail.
These actions are useful e.g. to debug the tool itself.
2017-10-09 17:09:53 +02:00
Sébastien Hinderer 635b5edcc1 ocamltest: the test driver for the OCaml compiler
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.
2017-09-18 17:40:14 +02:00