Commit Graph

34 Commits (546c22b67e19022200ccbc9ff5e982c9f36c8a37)

Author SHA1 Message Date
Damien Doligez 2ffe809f11 fix bug in test program
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14583 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-12 10:45:42 +00:00
Damien Doligez 7303ac34ca fix some of the whitespace problems in the source
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14582 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-12 10:17:02 +00:00
Damien Doligez 338c5ce867 disable test 8 and 9 in tests/lib-threads under Windows because sometimes they deadlock on exit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13848 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-28 15:25:14 +00:00
Xavier Leroy 94381ab774 As originally written, this test would livelock under Linux because of contention on the output lock.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13778 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-14 08:07:08 +00:00
Damien Doligez 0992949438 temporarily disable tests/lib-threads/testsocket on Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-11 13:20:32 +00:00
Damien Doligez 8946ae07df testsuite/lib-threads: version of test8 that seems to work on Windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13700 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-22 13:04:00 +00:00
Damien Doligez 9bbd8bdaec testsuite/lib-threads: still working around Windows's exit bug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 15:05:16 +00:00
Damien Doligez b1d2782b30 testsuite: still making it work without installing
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:49:42 +00:00
Damien Doligez 6283fee381 testsuite: making it work without installing OCaml (continued)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17 12:03:58 +00:00
Damien Doligez 178c0d1d41 testsuite: continue making it work without installing OCaml; also make it independent of the user's .ocamlinit
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 19:48:04 +00:00
Damien Doligez 98c197a63b testsuite: allow testing without installing (continued)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 15:20:48 +00:00
Damien Doligez 1a2c1ed3e2 make the testsuite work without installing OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 12:20:59 +00:00
Damien Doligez 13673e1189 tests/lib-threads: still porting to windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-16 07:44:41 +00:00
Damien Doligez 1f1f64d2d9 testsuite/lib-threads: still trying to make it work across all architectures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 15:24:52 +00:00
Damien Doligez aac1147965 trying to make a test that works on all systems
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 14:08:08 +00:00
Damien Doligez b2cf57f35f testsuite/lib-threads: stop all threads before exiting
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13676 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:32:29 +00:00
Damien Doligez 9dda1aa675 fixed test to test what happens when we close a file descriptor on which another thread is blocked reading
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13675 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-15 09:31:58 +00:00
Damien Doligez a3c303c7dd testsuite/lib-threads: stop all threads before exiting [for Windows]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 18:59:08 +00:00
Damien Doligez 4efee60493 testsuite: Windows (7) does not reliably stop all threads when a process calls exit(). Update thread test to avoid this problem.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13669 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-14 17:05:07 +00:00
Damien Doligez 200f97fef6 trying to figure out what goes wrong on the Windows test machines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-13 15:11:24 +00:00
Damien Doligez b0d7af8354 still porting testsuite to msvc64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07 11:26:42 +00:00
Damien Doligez 03736769f1 tests/lib-threads: skip test3 on windows
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13629 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 18:23:28 +00:00
Damien Doligez e21fb0c563 tests/lib-threads: scale back sieve.ml to avoid problems under Windows on a small machine
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13624 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 18:00:49 +00:00
Damien Doligez 010d94b4d5 testsuite: many small fixes to make it work for mingw
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13623 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29 17:02:29 +00:00
Damien Doligez 3a81edda74 make test9 independent of the OS scheduler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-18 14:19:23 +00:00
Damien Doligez 443aca36ae whitespace, non-ascii chars, some missing headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13026 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17 20:09:16 +00:00
Damien Doligez bb5c5b7e88 merge changes from 4.00.0 to 4.00.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12990 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-05 15:21:35 +00:00
Damien Doligez 997a678d5e clean up TABs and whitespace
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Damien Doligez 3bb278c944 merge changes from 4.00 branching to 4.00.0 (part 2: testsuite)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-27 11:31:21 +00:00
Damien Doligez 90664f4ea1 uniform .ignore system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +00:00
Xavier Clerc 4fe49e995d testsuite: ability run a given test from its own directory.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11090 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-15 08:38:27 +00:00
Damien Doligez b29bc9fd2b PR#5055: head -1 doesn't work
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10448 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 11:28:21 +00:00
Xavier Clerc ce9a2a9708 Ensures that the process is always killed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-29 08:21:06 +00:00
Xavier Clerc b5fbdc43c2 Tests moved to 'lib-threads'
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-28 15:42:08 +00:00