Skip to content

Commit 075b8fe

Browse files
[add] increased coverage on src/redisai.c (#277)
* [add] increased coverage on src/redisai.c * [wip] wip on coverage increase * [add] updated basic tests.added verbose output on makefile for tests * [add] added verbose output on circleci tests * [wip] disabled AI.SCRIPTGET ket test since it hangs ci * [fix] fix small typo added on previous commit Co-authored-by: Luca Antiga <[email protected]>
1 parent 6e7648c commit 075b8fe

File tree

3 files changed

+249
-24
lines changed

3 files changed

+249
-24
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ commands:
3737
name: Test
3838
command: |
3939
mkdir -p ~/workspace/tests
40-
make -C opt test SHOW=1
40+
make -C opt test SHOW=1 VERBOSE=1
4141
cp test/logs/* ~/workspace/tests
4242
- run:
4343
name: Package

opt/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ make clean # remove build artifacts
1414
make test # run tests
1515
TEST=test # run only test `test` with Redis output
1616
TEST_ARGS=args # add extra RLTest `args`
17+
VERBOSE=1 # verbose tests output
1718
TEST_COVERAGE=off # add coverage
1819
make pack # create installation packages
1920
PACK_DEPS=0 # do not pack dependencies
@@ -142,7 +143,9 @@ endif
142143
#----------------------------------------------------------------------------------------------
143144

144145
TEST_REPORT_DIR ?= $(PWD)
145-
146+
ifeq ($(VERBOSE),1)
147+
TEST_ARGS += -v
148+
endif
146149
ifeq ($(TEST),)
147150
TEST=basic_tests.py
148151
PYDEBUG=

0 commit comments

Comments
 (0)