Michael Walker
4ffd7587ad
Define default text execution parameters in Test.DejaFu.Defaults
2017-05-31 15:26:27 +01:00
Michael Walker
44c31f879c
Update test-framework-hunit git location
2017-05-31 15:08:06 +01:00
Michael Walker
b6713505c5
Prevent re-use of MVar, CRef, and TVar IDs inside subconcurrency.
...
Fixes #81 .
2017-05-03 23:12:26 +01:00
Michael Walker
c11f1d92db
Test case for #81 .
...
This is a large diff because it pulls in a variant of QSemN.
2017-05-03 23:09:56 +01:00
Michael Walker
2d97030abe
tasty-dejafu-0.5.0.0
2017-04-08 21:18:20 +01:00
Michael Walker
9af76cc4f2
hunit-dejafu-0.5.0.0
2017-04-08 21:15:32 +01:00
Michael Walker
dd5748e3e6
dejafu-0.6.0.0
2017-04-08 21:08:03 +01:00
Michael Walker
efaf353920
Rename Conc to ConcT and turn into a MonadTrans.
...
Closes #70 .
2017-04-08 20:59:05 +01:00
Michael Walker
d3062234fa
Make Way a GADT.
...
Closes #65 .
2017-04-08 20:57:25 +01:00
Michael Walker
94c4afe090
CHANGELOG errata: dejafu-0.5.1.2 should have been 0.5.2.0.
...
Introducing new non-orphan typeclass instances is a minor bump.
2017-04-08 20:21:22 +01:00
Michael Walker
9c33eff1f7
Add Haddock @since
annotations to everything in dejafu/hunit/tasty
2017-04-08 20:21:22 +01:00
Michael Walker
98af53bbc3
Consider Test.DejaFu.Common part of the public API.
2017-04-08 20:21:22 +01:00
Michael Walker
ab599b637d
Add guidance on documenting changes to CONTRIBUTING.
2017-04-08 20:21:22 +01:00
Michael Walker
6b71e9a76f
Remove the internal SCT graphviz functions.
2017-04-08 10:38:06 +01:00
Michael Walker
da09c2268a
Inline the findSchedulePrefix predicate.
...
The function is only used in one place, with a constant
predicate. There was no point in it being a parameter.
2017-04-08 10:34:46 +01:00
Michael Walker
5f9ad29b1b
Include READMEs in cabal sdists.
...
Closes #79 .
2017-04-08 10:30:58 +01:00
Michael Walker
93d8cc64e3
Add a separate CONTRIBUTING file.
2017-04-08 05:55:42 +01:00
Michael Walker
d4df9eed0c
Add section on code style to README + scripts to run tools.
...
- `lint.sh` runs HLint, returning 1 if HLint is NOT version 1 (as the
.hlint.yaml configuration file is only supported in version 2 and
later) AND issues are found.
- `style.sh` runs stylish-haskell. I would like it to return 1 if it
reformatted anything, but the tool doesn't appear to support
reporting that :(
2017-04-08 05:42:26 +01:00
Michael Walker
f90ecb2125
Change "Code Coverage" to "Test Coverage" in README.
2017-04-08 05:42:25 +01:00
Michael Walker
cc27e03d6d
Use stylish-haskell to format import lists.
2017-04-08 05:42:25 +01:00
Michael Walker
d934222fe7
Implement isEmptyMVar in terms of tryRead, not tryTake.
2017-04-08 05:42:25 +01:00
Michael Walker
5cd55a1921
Add an HLint2 config file & fix warnings.
2017-04-08 05:42:25 +01:00
Michael Walker
0080678a65
Add a repo-wide changelog.
...
Closes #78 .
2017-04-07 20:22:22 +01:00
Michael Walker
de8ced69a6
Fiddle with changelog format.
2017-04-07 20:05:11 +01:00
Michael Walker
60f771d50e
Write changelogs.
2017-04-07 18:16:30 +01:00
Michael Walker
8d23a2715e
Bump concurrency to 1.1.2.0 and dejafu to 0.5.1.3.
2017-04-05 21:41:22 +01:00
Michael Walker
7cd0c665fa
Add Haddock "@since" comments to everything in concurrency.
2017-04-05 21:25:02 +01:00
Michael Walker
da9f622ca9
Add Stackage LTS-8 to the travis config.
2017-04-05 21:06:25 +01:00
Michael Walker
a4ab84e132
Only define Semigroup Async instance for base >= 4.9.0.0.
2017-04-05 21:01:23 +01:00
Michael Walker
1532a75f78
Add replicateConcurrently{,_} to Async.
2017-04-05 20:57:27 +01:00
Michael Walker
92de856ed0
Add concurrently_, mapConcurrently_, and forConcurrently_.
2017-04-05 20:56:20 +01:00
Michael Walker
2e7aeac8b3
Add Semigroup and Monoid instances for Concurrently.
2017-04-05 20:54:21 +01:00
Michael Walker
71beaed0e5
Add uninterruptibleCancel to Async.
2017-04-05 20:46:00 +01:00
Michael Walker
15af09a406
Rexport mask_ and uninterruptibleMask_ from Conc.Class
2017-04-05 20:45:40 +01:00
Michael Walker
9a7a883ab9
Update cancel
docs to mention blocking.
2017-04-05 20:36:53 +01:00
Michael Walker
dcddfa42a5
Merge pull request #77 from gamazeps/cancel
...
Make cancel blocking
2017-04-05 20:33:23 +01:00
Felix Raimundo
ed08975e3f
Make cancel blocking
...
In the documentation of `cancel`, it is said to be blocking, waiting on
the cancelled `async` to die. It seems to me that is not the case.
This patch simply applies the code written by Simon Marlow in order
to wait for the termination of the `async`.
See:
https://hackage.haskell.org/package/async-2.1.1/docs/src/Control.Concurrent.Async.html#cancel
2017-04-05 16:44:08 +02:00
Michael Walker
5d8ada4a5f
Move dependency function to Test.DejaFu.SCT.Internal.
2017-03-27 18:53:47 +01:00
Michael Walker
8394904831
Add note about performance profiling to README.
2017-03-20 19:27:42 +00:00
Michael Walker
80d00224c4
Use the https clone path for test-framework-hunit.
2017-03-20 18:54:24 +00:00
Michael Walker
743ae2e233
Add HUnit-1.6 support to hunit-dejafu.
2017-03-20 18:42:51 +00:00
Michael Walker
0e59d9aa40
Add a basic test for uninterruptible masks.
...
Closes #76 .
2017-03-04 05:36:32 +00:00
Michael Walker
c2f8ffe473
Add some CAS tests.
...
Closes #75 .
2017-03-04 05:28:29 +00:00
Michael Walker
32f6887a1b
Add tests for throwing exceptions to the main thread.
...
Closes #74 .
2017-03-04 05:28:29 +00:00
Michael Walker
61389f5875
Include the final failing action in the execution trace.
2017-03-04 05:28:29 +00:00
Michael Walker
7eda900d87
Only return 'UncaughtException' when the main thread is killed.
2017-03-04 05:28:29 +00:00
Michael Walker
a62c2df141
Add note on code coverage to README.
2017-03-04 05:28:28 +00:00
Michael Walker
6c7fb47cff
Remove async-dejafu from travis.
2017-03-03 22:19:42 +00:00
Michael Walker
463efd3f8d
Merge "async-dejafu" into "concurrency" + bump versions.
...
Closes #73 .
2017-03-03 22:06:09 +00:00
Michael Walker
69e0890ecd
Make Conc a MonadRef/MonadAtomicRef.
...
Closes #72 .
2017-02-26 03:17:02 +00:00