Éric Lemoine
8cd3f4c15a
Fix unit tests with cunit 2.1-3 ( #124 )
...
In CUnit 2.1-2 and before the CU_SuiteInfo structure looks like this:
typedef struct CU_SuiteInfo {
const char *pName;
CU_InitializeFunc pInitFunc;
CU_CleanupFunc pCleanupFunc;
CU_TestInfo *pTests;
} CU_SuiteInfo;
In CUnit 2.1-3 it looks like this:
typedef struct CU_SuiteInfo {
const char *pName;
CU_InitializeFunc pInitFunc;
CU_CleanupFunc pCleanupFunc;
CU_SetUpFunc pSetUpFunc;
CU_TearDownFunc pTearDownFunc;
CU_TestInfo *pTests;
} CU_SuiteInfo;
This commit changes the test code so it works with both CUnit 2.1-2 and CUnit
2.1-3.
2017-01-24 16:29:33 +01:00
Blottiere Paul
8afd8f9c6d
fix compilation issue with GHT support
2016-06-16 16:16:59 +02:00
Paul Ramsey
211258b78d
Merge pull request #105 from pblottiere/laz
...
Add lazperf pcpatch
2016-06-14 05:59:51 -07:00
Blottiere Paul
b3764bd5dc
Add lazperf pcpatch
2016-06-14 10:22:16 +02:00
Mathieu Brédif
5a0f7944fd
new PC_PointN function
2016-03-07 15:57:05 +01:00
Blottiere Paul
1508f405bb
fix crash when a child node is empty in pc schema
...
add unit test in case of an empty child node in schema
2016-03-06 15:48:08 +01:00
Sandro Santilli
e6a8e062a9
Merge pull request #101 from mbredif/patch-2
...
Enable valgrind checks in Travis, fix reported errors and leaks.
2016-03-05 15:55:06 +01:00
Mathieu Brédif
19a57ee89b
Testing compression type of dimensional bytes
2016-03-03 17:35:20 +01:00
Mathieu Brédif
0826a986a0
fix memory leak in test_uncompressed_filter
2016-03-02 23:48:13 +01:00
Sandro Santilli
d345f927c0
Fix leaks in patch unit test
2015-04-21 16:19:57 +02:00
Sandro Santilli
3f3bdab31f
Clone stats on dimensional compression
...
Closes #75
2015-04-21 12:13:17 +02:00
Sandro Santilli
291ccfe57a
Fix crash in testcase (due to #75 )
2015-04-21 12:01:18 +02:00
Sandro Santilli
44037b743e
Leak some leaks from pc_patch unit test
2015-04-21 11:40:21 +02:00
Sandro Santilli
3011d8dace
Fix crash on cloning schema with missing dimension name/description
...
Closes #66
Includes testcase
2015-04-09 16:00:27 +02:00
Sandro Santilli
53b4fa1dcb
Add test for pc_schema_clone and plug memory leaks in the test
...
See #65
2015-04-09 12:24:47 +02:00
Sandro Santilli
11012357fd
Support sigbits encoding for 64bit integers
...
Fixes #61
2015-04-02 16:26:30 +02:00
Sandro Santilli
74a0818f6a
Add pc_point_to_double_array function
...
The function was written by Remi-C and slightly modified by me
to avoid the check for NULL and be const-correct.
Also I've added a unit test for the new library function.
2015-02-12 10:34:17 +01:00
Sandro Santilli
aebb3cb0d3
Add test for #28
...
Involves registering cu_tester specific error handler
2015-02-09 19:55:59 +01:00
Sandro Santilli
5c9532c00d
Revert recently introduced double free on pcpoint (only in test)
2015-02-09 19:55:01 +01:00
Sandro Santilli
e7b8fb8810
Fix typo in pc_patch_dimensional_compute_extent
...
Includes testcase.
Closes #23
2015-02-09 18:24:17 +01:00
Sandro Santilli
0c7bd2778d
Fix unused variables warnings
2015-02-09 18:07:40 +01:00
Andrew Bell
5d6dac27cb
Cast char *'s to proper type.
2014-11-24 18:27:27 -06:00
Paul Ramsey
87f875eabf
Build against Centos6
2013-10-22 12:55:55 -07:00
Paul Ramsey
28da32e323
First cut of cmake support
2013-10-21 21:38:43 -07:00
Paul Ramsey
e92de9f3f3
Remove hard requirement for CUnit to build
2013-10-21 10:51:01 -07:00
Paul Ramsey
75fdd0fb90
Fix test to declare length of pcbytes correctly
2013-07-03 11:48:02 -07:00
Paul Ramsey
0909faa673
Do efficient filtering in RLE encoded dimensions
2013-06-28 17:34:41 -07:00
Paul Ramsey
b8ff674ac4
Replace uncompressed filter hack with native GHT filtering for GHT cases.
2013-06-28 11:35:27 -07:00
Paul Ramsey
158b5791e6
Fix RLE encoding size change
2013-06-04 14:57:11 -07:00
Paul Ramsey
668d2413b2
Tests in place for patchlevel filtering
...
much optimization left to do
2013-06-04 14:53:42 -07:00
Paul Ramsey
fdc27ea55d
Tests for filtering (need more!)
2013-06-03 16:20:03 -07:00
Paul Ramsey
8174fa4ca3
Finish implementation of patch-level stats
2013-05-31 15:36:23 -07:00
Paul Ramsey
b76a3b8300
Continue with stats calculation reworking
2013-05-30 16:18:42 -07:00
Paul Ramsey
0ef50d9914
Rejig linker order
2013-05-16 16:13:13 -07:00
Paul Ramsey
0b30dc5d0b
Test for GHT patch
2013-05-06 13:49:36 -07:00
Paul Ramsey
309dddf4c8
Rough start of GHT compression support
2013-04-30 16:51:23 -07:00
Paul Ramsey
1d81da98ac
More errors on missing schema in WKB
2013-04-09 14:08:30 -07:00
Paul Ramsey
83d4ffc85f
Platform change for nsabo
2013-04-01 13:15:44 -07:00
Paul Ramsey
73da920ff0
Remove trailing white space from .c files
2013-03-08 13:46:06 -08:00
Paul Ramsey
b2ca04afa7
pgxs in configure
2013-03-07 10:23:23 -08:00
Paul Ramsey
d4a104bd77
Enable dimensional storage in the db
2013-03-06 22:06:23 -08:00
Paul Ramsey
e80fc20244
Fix memory error in allocator
2013-03-04 13:00:13 -08:00
Paul Ramsey
c7060031b5
Add dimensional compression routines, right out to the
...
patch level. Now to add them to SQL.
2013-03-01 16:42:15 -08:00
Paul Ramsey
941d5cb937
Break out struct functions into
...
their own files. Add patch to dimlist
conversion.
2013-02-26 12:30:11 -08:00
Paul Ramsey
9b20f737ba
Finish up change to PCBYTE holder
2013-02-26 10:31:36 -08:00
Paul Ramsey
f499fbc18a
First cut of change to PCBYTES
2013-02-25 16:20:44 -08:00
Paul Ramsey
176fa79ecb
Add in dimensional data structure.
...
Build stats on dimensional structure
and figure out preferred compression
for each dimension. Extra tests
for sigbits and other compression
schemes.
2013-02-21 16:26:11 -08:00
Paul Ramsey
e2d636d9ec
Add in zlib compression scheme
...
for dimensional compression.
2013-02-20 21:30:43 -08:00
Paul Ramsey
4f07bfc3fa
Add sigbits tests for encode/decode and for 32-bit values.
2013-02-20 12:57:25 -08:00
Paul Ramsey
9d32782984
Add in sigbits decoding functions
2013-02-20 12:22:02 -08:00