File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ ulimit -c unlimited -S
89
89
echo ' /tmp/%e-%s-%p.core' | sudo tee /proc/sys/kernel/core_pattern
90
90
91
91
# build extension (using CFLAGS_SL for gcov)
92
- if [ $CHECK_TYPE == " valgrind" ] && [ $CC = " clang " ] ; then
92
+ if [ $CHECK_TYPE == " valgrind" ]; then
93
93
make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path
94
94
make install USE_PGXS=1 PG_CONFIG=$config_path
95
95
else
96
- make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path CFLAGS_SL=" $( $config_path --cflags_sl) -coverage"
96
+ make USE_PGXS=1 USE_ASSERT_CHECKING=1 CC= $CC PG_CONFIG=$config_path CFLAGS_SL=" $( $config_path --cflags_sl) -coverage"
97
97
sudo make install USE_PGXS=1 PG_CONFIG=$config_path
98
98
fi
99
99
@@ -144,7 +144,7 @@ for corefile in $(find /tmp/ -name '*.core' 2>/dev/null) ; do
144
144
done
145
145
146
146
# generate *.gcov files
147
- if [ $CHECK_TYPE == " valgrind " ] && [ $ CC = " clang" ]; then
147
+ if [ $CC = " clang" ]; then
148
148
bash <( curl -s https://codecov.io/bash) -x " llvm-cov gcov"
149
149
else
150
150
bash <( curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments