Commit Graph

50 Commits

Author SHA1 Message Date
Ranjeet Ranjan
deb16f8670
Add test cases for Unbox Generic derived instances (#2207)
Co-authored-by: Harendra Kumar <harendra@composewell.com>
2023-01-07 19:05:30 +05:30
Harendra Kumar
fe28607c9e Add a chunked parser implementation 2022-11-17 16:49:25 +05:30
Ranjeet Kumar Ranjan
4eda9d0c1f Rename Data.Array.Unboxed 2022-11-04 16:00:48 +05:30
Ranjeet Kumar Ranjan
64d337474b Move Data.Array to Data.Array.Generic 2022-11-04 16:00:48 +05:30
Ranjeet Ranjan
7ac9ab7d5b
Rename Data.Stream.Async to Data.Stream.Concurrent (#1926) 2022-10-11 16:41:45 +05:30
Ranjeet Ranjan
4ab5ba2ce9
Rename *.Foreign to *.Unboxed modules in streamly-core (#1877) 2022-10-03 18:24:31 +05:30
Harendra Kumar
8a0d9ad39f Add test for new Async streams 2022-09-20 18:40:00 +05:30
Harendra Kumar
68dccf50a7 Bump dependency upper bounds for GHC 9.4
Bump base upper bound
Bump lockfree-queue upper bound
2022-08-28 01:37:46 +05:30
Ranjeet Ranjan
6e77cdbe24
Move SmallArray to dev flag (#1783) 2022-08-25 15:52:41 +05:30
Ranjeet Ranjan
0b4a300f1a
Combine test-core and bench-core flags to a single use-streamly-core flag (#1798) 2022-08-23 11:47:20 +05:30
Ranjeet Ranjan
64e471b91a
Move unboxed array tests under test-core flag (#1797) 2022-08-22 22:01:50 +05:30
Harendra Kumar
8dd618b1ba Increase heap limit for building Parser tests 2022-08-20 23:05:13 +05:30
Ranjeet Ranjan
ec760805c9
Modularize test cases (#1707)
* Modularize test cases

* Make it build with test-core flag

And several other changes.

Co-authored-by: Harendra Kumar <harendra@composewell.com>
2022-08-20 00:45:57 +05:30
Ranjeet Kumar Ranjan
18a226b9f0 Array.Foreign -> Array.Unboxed in tests and benchmarks & intenals
Co-authored-by: Ranjeet <ranjeet@composewell.com>
2022-08-17 15:09:42 +05:30
Adithya Kumar
4015d54128 Remove prim arrays and all related code 2022-07-31 02:43:44 +05:30
Adithya Kumar
aaa279c9b2 Add tests for unboxed ring array 2022-07-11 18:51:43 +05:30
Adithya Kumar
1ee11e87ec Increase the build memory limit for test:Data.Parser 2022-06-09 21:55:06 +05:30
Ranjeet Kumar Ranjan
f95fcbd82f Add a module for sliding window folds
Moved some basic incremental folds from 'streamly-statistics" package.
2022-03-25 12:33:58 +05:30
Adithya Kumar
29ba5decc5 Extract streamly-core out of streamly 2022-03-10 01:25:49 +05:30
Ranjeet Kumar Ranjan
f30eafd440 Add -Wmissing-export-lists flag 2022-03-01 13:41:50 +05:30
Harendra Kumar
1ca5137562 Bump hspec upper bound for GHC-9.3 2022-02-01 11:09:58 +05:30
Ranjeet Kumar Ranjan
9fdce7a10a Add test cases for joinInnerHash 2022-01-15 01:28:02 +05:30
adithyaov
8145347bbc Constraint the upper bound of base to the latest major range
Don't include the invalid (non-existent) major ranges
2022-01-05 08:10:23 +05:30
Harendra Kumar
03c154c645 Increase the build memory for Prelude.ZipAsync 2021-12-08 11:28:56 +05:30
Harendra Kumar
d0b45e3122 Restrict version bounds to < next major version
Restrict hspec to < 2.9.3 as 2.9.3 does not build for ghcjs.
2021-12-08 11:24:01 +05:30
Harendra Kumar
f41693f01c Bump versions of transformers and tasty-bench 2021-11-26 03:54:22 +05:30
Harendra Kumar
4512fa476f Overhaul file system event testing
Remove watchRecursive from common fs event module as this is unreliable
on Linux platform.

Change default config to use non-recursive watch to make it same as the
behavior of the common module.
2021-11-14 12:31:48 +05:30
Harendra Kumar
e8fbfa8d31 Fix windows/linux builds 2021-11-14 12:31:48 +05:30
Ranjeet Kumar Ranjan
212559e9d5 Seperate platform specific Events 2021-11-14 12:31:48 +05:30
Harendra Kumar
1953900342 Ensure asserts are on in debug/dev/non-opt builds 2021-10-09 22:50:37 +05:30
Harendra Kumar
f6b88dc488 Add a flag for flaky tests 2021-09-14 23:19:54 +05:30
Harendra Kumar
ea50a6cb50 Add use-large-mem flag
To include tests that require large amounts of RAM
2021-09-14 23:11:17 +05:30
Adithya Kumar
705d2cf79f Move test:Unicode.Char into dev build 2021-09-13 18:48:12 +05:30
adithyaov
08ee39b078 Add unicode normalization test-suite 2021-08-09 19:43:40 +05:30
Harendra Kumar
3339c2082d Add fold and parse for array streams
The test and benchmark code is taken from Adithya's original double
ended lists based implementation.
2021-07-26 18:14:46 +05:30
Pranay Sashank
10b03bf59f Fix tests under dev flag. 2021-04-06 17:11:59 +05:30
Adithya Kumar
27ccdf4d94 Move compilation memory restrictions under a flag 2021-03-26 16:40:43 +05:30
Harendra Kumar
7de5d6d7ff Allow -Werror without inspection/fusion-plugin
We may want to use the -Werror build locally but fusion-plugin takes too
much time to build, so separate the two.
2021-02-09 02:12:48 +05:30
Pranay Sashank
5c018c7e45 Rename Data.Array.Storable.Foreign to Data.Array.Foreign.
Closes #854.
2021-02-01 21:31:06 +05:30
Harendra Kumar
525d2b0c1d Increase heap limits for Data.Parser/Prelude.Serial 2021-01-30 20:11:58 +05:30
Harendra Kumar
95ebb7b177 Increase the memory limit for streamly-tests library 2021-01-28 01:19:44 +05:30
Harendra Kumar
d0f5261d76 List test suites in sorted order 2021-01-04 02:39:38 +05:30
Harendra Kumar
00a2f7b1f5 Use a basePort var, rename test, add to targets.sh
fix hlint
small cleanups
2021-01-04 02:30:20 +05:30
Ranjeet Ranjan
51774339fe Address review comments and rebase with master 2021-01-04 02:12:16 +05:30
Ranjeet Ranjan
0bd1586175 Add test cases for Data.Fold/Array, FileSystem.Handle
Added the following test cases to Data.Fold:

drain, drainBy, mean, stdDev, variance, mconcat, foldMap, foldMapM,
lookup, mapM, teeWithLength, teeWithMax, distribute, partition, unzip

Added the following test cases to Data.Array.Storable.Foreign

* fromList and fromListN

Added FileSystem.Handle module
2021-01-04 01:24:25 +05:30
Harendra Kumar
08588c958b Use memory restrictions when building tests 2020-12-31 01:12:50 +05:30
Harendra Kumar
1b1cbbd16d Do not use threading/rts options in library 2020-12-28 23:56:18 +05:30
Harendra Kumar
f6d05d3f52 Refactor bench.sh to use build-lib.sh 2020-12-28 23:56:18 +05:30
Harendra Kumar
299bdffdd6 Add a script to run tests
This allows us to build and run individual tests or groups of tests. The
script is supposed to be extended to run hpc/coverage manually after
running the tests.

Note: cabal fails to run coverage if the test module is separated from
the library.
2020-12-28 23:56:18 +05:30
Harendra Kumar
b677d0ddc9 Separate streamly tests into another package
To be able to use an internal test library, we need to have it as a
separate package. See comments in streamly-benchmarks.cabal for details.

Use a test library for common test modules
Also, added "opt" flag to control optimization levels.

Add a README for tests.
Update benchmarks readme.
2020-12-15 17:48:34 +05:30