Skip to content

Commit 6fea08e

Browse files
committed
make codecov even happier
1 parent 963ae38 commit 6fea08e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tsl/test/src/test_fastlanes.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@
66

77
#include "compression/algorithms/fastlanes/fastlanes.h"
88

9-
#include "compression/algorithms/fastlanes/fastlanes_types.h"
109
#include "port.h"
1110
#include "test_utils.h"
1211
#include <c.h>
1312
#include <port/pg_bitutils.h>
14-
#include <stdlib.h>
1513
#include <time.h>
16-
#include <utils/elog.h>
1714
#include <utils/palloc.h>
1815

1916
/*
@@ -682,6 +679,9 @@ calc_width(uint64 val)
682679
size_t alignment = fl_alignment(n, T); \
683680
size_t input_size = fl_input_bytes(n, T); \
684681
size_t required_size = fl_required_bytes(n, W, T); \
682+
/* add input_count() too to make codecov happy */ \
683+
size_t input_count = fl_input_count(n, T); \
684+
TestAssertInt64Eq(input_count * sizeof(IN_T), input_size); \
685685
\
686686
uint8 *values_in = palloc_aligned(input_size, alignment, 0); \
687687
memcpy(values_in, values, test_input_size); \

0 commit comments

Comments
 (0)