| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
optional arguments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Unix.environment on Windows: use _wenviron
* Add Changes entry
* Update testsuite
- Add lib-unix/win-env/test_env.ml, a test that fails in trunk and passes in
this PR.
- Add lib-unix/win-env/test_env2.ml: a test for MPR#4499 which is closely
related to this PR. Currently disabled as it fails.
- Added a new test in win-unicode/mltest.ml to test non-ASCII characters
returned by Unix.environment (Unix.{getenv,putenv} were already being tested).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the system-provided execvpe() if possible. Otherwise, use
a serious reimplementation written in OCaml and patterned after
the Glibc execvpe() implementation.
Added a test in tests/lib-unix/unix-execvpe.
Don't test Unix.execvpe if we are using the system-provided implementation.
The execvpe() functions provided by Win32 and Cygwin aren't quite to
our specs. At any rate, the test is there to find bugs in our
implementation of execvpe(), not in others's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GPR#1419)
This is a follow-up to commit 6d9ce26 and to GPR #1361.
I forgot that the win_{in,out}channel_of_filedescr functions from the
Win32 implementation of the Unix library call caml_open_descriptor_{in,out}
directly, without going through caml_ml_open_descriptor_{in,out} like
the Unix implementation of the Unix library does.
As a consequence the CHANNEL_FLAG_MANAGED_BY_GC flag is not set by
the Win32 implementation.
This commit fixes the Win32 implementation and brings it in sync with
the Unix implementation by setting the CHANNEL_FLAG_MANAGED_BY_GC
flag.
|
|
|
|
|
|
|
|
| |
This causes trouble when the doc comments are actually in UTF8 and
the user is providing their own preamble with an UTF8 inputenc.
The default preamble still contains \usepackage[latin1]{inputenc},
so the Latin-1 accents will still display fine.
|
|
|
|
| |
The extra semantics of Ident aren't needed, and add significant extra cost.
|
|
|
|
|
|
|
|
| |
Now that actions can occur directly in test blocks, it is no longer
necessary to wrap each action in a test. This commit thus removes
all the single-action tests.
It also renames a few actions to give them simpler names.
|
| |
|
| |
|
| |
|
|
|
|
| |
These actions are useful e.g. to debug the tool itself.
|
|\
| |
| | |
MPR#7647: emphasize ocaml.org links in readme
|
|/
|
|
|
| |
Link to appropriate pages in ocaml.org for the homepage, getting OCaml,
documentation, and discussion fora.
|
|\
| |
| | |
One more Windows Unicode PR: do not use %S
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This test shows bizarre behaviors on the BSDs, including MacOS: it looks like the INT signal is ignored when the test program is run from signal2.runner, but not when running it manually outside of the test script. That could be a Caml problem, or a BSD pthread implementation problem, or a misunderstanding of signal handling in POSIX threads.
At any rate, the signal2 test as it was until recently is useless because it is designed to succeed even in the face of the BSD failure mentioned above (kill -9 to guarantee termination + grepping only for [ab]*, which always succeeds). So, I'm just removing it.
|
| |
| |
| |
| |
| |
| |
| | |
signal2.ml: normalize the signal numbers
signal.checker: accept some "ab" output after the "exiting" message
(exiting is not instantaneous; the threads can still emit some a's and b's)
signal2.checker: do like signal.checker
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On OpenBSD this script removes the newline at the end of each line
that is transformed. If the next line is a `# lineno "filename"`
directive, a syntax error occurs.
This commit changes the script to use a sed 's' command instead of a
'c' command. This restores the expected behavior under OpenBSD and
seems to make no difference for other systems.
|
|\ \
| | |
| | | |
travis: test 'make clean'
|
| | |
| | |
| | |
| | | |
(no change entry needed)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Should the "clean: defaultclean" default rule be part of
testsuite/makefiles/Makefile.common
?
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix duplicates in Cmmgen when handling switches with no default and not all cases
* Improve handling of incomplete Lambda switches in Flambda
* Add test (for reference) and changes
* Fix nitpick
* Cleanup: split the switch stores to reflect usage
* Improve compilation of incomplete switches with flambda
* Split switch stores into context-aware and -unaware versions
* Credit reviewers
* Go back to a single Switch.t_store type
|
| |
| |
| |
| | |
(cherry picked from commit fd7f18f8d35aedc932c174967366837f37f3100d)
|
|\ \
| | |
| | | |
afl-fuzz instrumentation fix for classes
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Disable class initialisation cache when compiling with afl-fuzz
instrumentation enabled. See MPR#7612
|
|\ \ \
| |/ /
|/| | |
PR#7363: documentation, start heading levels at 1
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This commit makes the heading hierarchy of ocamldoc start at {0 rather
than {1. This level {0 should be reserved for global titles, freeing
the use of {1 for normal subtitles.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Fix flexdll section in `README.win32.adoc`.
Pass the whole OCaml config to the Flexdll Makefile instead of a few chosen variables.
|
| |/
|/| |
|
|\ \
| | |
| | | |
Simplify the tool-ocamlobjinfo test
|
| | | |
|
|\ \ \
| | | |
| | | | |
Avoid non-tail recursion in Arg.read_arg
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Restore support for native_c_compiler and bytecomp_c_compiler
|
| |/ /
| | |
| | |
| | | |
(no change entry needed)
|
| | | |
|
|/ / |
|
|/
|
|
| |
line (#931)
|
|
|
|
|
|
|
|
|
| |
tests/asmgen contains the custom C-- code generator and the tests written in C--
tests/asmcomp contains the tests written in OCaml
The purpose of this split is to make it easier to skip or remove entirely the asmgen tests in the future, and to adapt the other tests to the new test infrastructure.
Also: modernize the asm stubs in asmgen and remove the stubs for no-longer-supported architectures.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Inria's CI uses an "other-configs" job to test various, less
widespread configurations of the OCaml compiler.
Before this commit, the list of configurations to test was part of the
configuration of the Jenkins job itself, making it impossible to
have branch-specific configurations.
This commit introduces the tools/ci-build-other-configs script, which
can vary from branch to branch.
The job's configuration has been updated to execute the script when
it exists and to fallback to the former, built-in list of
configurations on the branches where this script is not present.
|
| |
|