Commit Graph

889 Commits

Author SHA1 Message Date
Michael Walker
7b527a8793 Rearrange test hierarchy 2018-02-16 20:04:54 +00:00
Michael Walker
92cc44b548 Add tests for liftIO
Closes #93
2018-02-16 20:04:54 +00:00
Michael Walker
8bff75a167 Add dependency function property tests
The idea is that, if the dependency function is correct, then any
permutation of independent actions should give the same result.

In practice it's a little more complex, as the dependency function has
some special cases which are only valid because of how it is used.  So
an "independence" function which we can use to shuffle any trace
after-the-fact has to work around those cases.
2018-02-16 20:04:52 +00:00
Michael Walker
1f3d46873e Deterministically assign commit thread IDs
Closes #193
2018-02-16 20:04:39 +00:00
Michael Walker
a737ebd8ba Add missing updateMaskState case for Stop
Closes #192
2018-02-16 20:04:39 +00:00
Michael Walker
43bfb6a49a Remove faulty get/setNumCapabilities optimisation
Closes #189
2018-02-16 20:04:39 +00:00
Michael Walker
4202ebbec1 Consolidate test-running logic 2018-02-16 20:04:39 +00:00
Michael Walker
a1101193d1 Include perf output on Travis 2018-02-16 20:04:35 +00:00
Michael Walker
64d24dbe24 Migrate tests from test-framework to tasty 2018-02-16 20:04:20 +00:00
Michael Walker
bc7f69c2c7 Add a multithreaded capabilities test
Closes #96
2018-02-16 19:14:46 +00:00
Michael Walker
a5e6d754f6 Add Par Monad example
Closes #184
2018-02-16 19:14:46 +00:00
Michael Walker
d6642b23d1 Split dejafu-tests into lib + binary 2018-02-16 19:14:46 +00:00
Michael Walker
ca530a1f4d
Merge pull request #213 from barrucadu/changelog-format
Rewrite CHANGELOGs to follow "Keep a Changelog" guidelines
2018-02-16 19:12:31 +00:00
Michael Walker
d0e3e7001d Rewrite generic changelog 2018-02-16 18:59:20 +00:00
Michael Walker
f0e9ffc652 Remove .md support from website 2018-02-16 18:59:20 +00:00
Michael Walker
481bf1eca6 Rewrite tasty-dejafu changelog 2018-02-16 18:59:20 +00:00
Michael Walker
4181a9dab6 Rewrite hunit-dejafu changelog 2018-02-16 18:38:22 +00:00
Michael Walker
2c880c8020 Rewrite dejafu changelog 2018-02-16 00:01:24 +00:00
Michael Walker
25ba98509f Rewrite concurrency changelog 2018-02-15 21:06:54 +00:00
Michael Walker
e863481076
Merge pull request #200 from barrucadu/testdejafusdiscard
hunit-dejafu-1.0.1.0 and tasty-dejafu-1.0.1.0
2018-02-13 20:25:37 +00:00
Michael Walker
b61cc71d36 Prepare for tasty-dejafu-1.0.1.0 release 2018-02-13 18:57:19 +00:00
Michael Walker
9cc01477de Prepare for hunit-dejafu-1.0.1.0 release 2018-02-13 18:57:19 +00:00
Michael Walker
7fcebe366c Add CHANGELOG entries 2018-02-13 18:57:19 +00:00
Michael Walker
0ae3bc42c1 Add testDejafusDiscard to HUnit 2018-02-13 18:57:19 +00:00
Michael Walker
a366b812d0 Clarify role of discard function in Tasty testDejafusDiscard 2018-02-13 18:45:20 +00:00
Michael Walker
be66679daa
Merge pull request #195 from aherrmann/pr/testDejafusDiscard
Add `testDejafusDiscard`
2018-02-13 11:28:34 +00:00
Andreas Herrmann
1ad606b6a5 testDejafusDiscard takes a list of predicates 2018-02-13 12:03:42 +01:00
Michael Walker
98a81a8379
Merge pull request #194 from barrucadu/revert-nightly-failures
Revert "Do not allow nightly builds to fail"
2018-02-12 22:12:33 +00:00
Michael Walker
33b2760852 Revert "Do not allow nightly builds to fail"
This reverts commit 4b1d8c0f42.
2018-02-12 21:52:12 +00:00
Michael Walker
8fe5959995
Merge pull request #188 from barrucadu/dev-process-ghc
Clarify the policy & process around GHC support
2018-02-12 14:46:03 +00:00
Michael Walker
75b0974cb7 Update PR template checklists 2018-02-12 14:18:21 +00:00
Michael Walker
4b1d8c0f42 Do not allow nightly builds to fail 2018-02-12 14:18:21 +00:00
Michael Walker
465ce64ad5 Add dev docs page on GHC
Closes #186
2018-02-12 14:18:21 +00:00
Michael Walker
805d8058bf Use LTS-x.0 for Travis builds 2018-02-10 03:55:55 +00:00
Michael Walker
f1917b0f5a Use default resolver for style & doctests in Travis 2018-02-10 03:55:47 +00:00
Michael Walker
5cc64bf16d
Merge pull request #180 from barrucadu/doctests
Doctest all Haddock code examples
2018-02-09 16:50:54 +00:00
Michael Walker
3b0a1ad0a1 Use four-space indent for results 2018-02-04 20:54:15 +00:00
Michael Walker
0668e82280 Turn examples in Test.DejaFu.Refinement into doctests 2018-02-04 20:39:11 +00:00
Michael Walker
19fb87068c Turn examples in Test.DejaFu into doctests 2018-02-04 20:36:53 +00:00
Michael Walker
c13d09a70e Set up doctests
Only adds one doctest so far, but gets the machinery working.  To
solve the problem of dejafu's fancy output, this checks a
"DEJAFU_DOCTEST" env var: when set, the output is simplified.

Doctests run in a separate Travis job (rather than the existing "test"
job) because the version of doctest in LTS-6 doesn't like CPP.  I feel
that as long as they're working for the latest LTS, all is fine.
2018-02-04 19:22:24 +00:00
Michael Walker
a377a5048d Add a GitHub pull request template 2018-02-04 18:16:49 +00:00
Michael Walker
52b9ba1d96 Merge roadmap and contributing pages & move to website 2018-02-04 12:48:36 +00:00
Michael Walker
eba7a94c23 Move release notes to bottom of ToC on website 2018-02-01 16:10:23 +00:00
Michael Walker
5b896b2137 Remove outdated version tags from website 2018-02-01 16:10:01 +00:00
Michael Walker
5e9b1da652 Use Sphinx external links in the website 2018-02-01 13:26:35 +00:00
Michael Walker
e243854f48 Add a roadmap
Closes #175
2018-02-01 13:26:29 +00:00
Michael Walker
4d3af3ae76 Rewrite CONTRIBUTING file and port to rST
Closes #174
2018-01-31 16:54:40 +00:00
Michael Walker
5237effb06 concurrency-1.4.0.0 / dejafu-1.0.0.1 joint release 2018-01-19 17:13:45 +00:00
Michael Walker
864fb2e823 Add note about instance deriving to website 2018-01-19 17:02:03 +00:00
Michael Walker
7a13b106d9 Add note about instance deriving to Monad{Conc,STM} docs 2018-01-19 16:45:38 +00:00