Commit Graph

14 Commits

Author SHA1 Message Date
Jost Berthold
0c2776b164 Fixes in code comments and Haddock documentation (no code) 2015-11-27 23:44:26 +11:00
Jost Berthold
c9bb99fc0e detabbing 2015-06-22 23:23:20 +10:00
Jost Berthold
14a0c86341 avoid test failure on case-insensitive file systems 2015-06-22 23:22:11 +10:00
Jost Berthold
bb58c10869 added quickcheck test 2014-09-11 17:13:17 +02:00
Jost Berthold
1a23c81d7a actually check output, fix a glitch in expected output 2014-09-10 17:57:30 +02:00
Jost Berthold
464cb03fa2 Block/retry if a blackhole is met during packing
If packing hits a blackhole, the packing thread should block
and retry, to get consistent behaviour at the Haskell level.
To enable this from Haskell, the core routine now checks and
evaluates the blackhole before retrying (i.e. blocks on the
known-to-be-blackholed data).

As the blackhole is not necessarily (and most likely not) the
graphroot, the C code writes its address into the buffer at
position 0. This is OK since packing fails anyway, so the buffer
won't hold any useful data.
2014-09-06 20:34:17 +02:00
Jost Berthold
c0c43a3139 make detailed-0.9 test work, fix cabal test specification 2014-09-02 17:50:45 +02:00
Jost Berthold
3420ec74d5 small fix in failing test 2014-09-01 15:59:18 +02:00
Jost Berthold
d6d6b18a99 split into several modules, use hsc2hs for error codes 2014-08-28 14:23:04 +02:00
Jost Berthold
89306e120a corrected ranges 2014-08-19 19:26:41 +02:00
Jost Berthold
6ad43e0763 added a multithreaded test case
A number of threads serialize the same data, while the test function
accesses the original in different ways (prone to blackholing).
Test runs with 10 threads by default, which is enough to trigger
some blackhole exceptions (the duplicate function will retry).
2014-08-19 11:52:30 +02:00
Jost Berthold
9dd85aa363 add simple test, clean (non-working) AllTests, edit github URL 2014-08-14 10:41:59 +02:00
Jost Berthold
060660bf61 test suite for exceptions, with exitcode-1.0 2014-07-27 17:45:10 +02:00
Jost Berthold
959ebdca98 Extended test program (NOT WORKING AT THE MOMENT)
An attempt to use the "detailed-0.9" test-suite style of Cabal,
but it fails with a linker error.
2014-07-26 20:48:27 +02:00