-
Notifications
You must be signed in to change notification settings - Fork 95
Speed up test by reordering integration test first, then unit test #157
Conversation
96328a6
to
bdeaf69
Compare
a39b0f3
to
64e2660
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ship it after addressing comments below !
Makefile
Outdated
cat $(BUILD)/"$$dir"/coverage.out | grep -v "mode: atomic" >> $(BUILD)/cover.out; \ | ||
done | ||
|
||
cover_profile: lint cover_prepare cover_integration cover_unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you move the cover_prepare
as a dep for targets cover_unit
and cover_integration
instead of adding that as a dep here ?
just want to make sure running make cover_unit
also works
Makefile
Outdated
@@ -100,20 +100,21 @@ cherami-store-tool: $(DEPS) | |||
|
|||
bins: cherami-server cherami-replicator-server cherami-cli cherami-admin cherami-replicator-tool cherami-cassandra-tool cherami-store-tool | |||
|
|||
cover_profile: lint bins | |||
@echo Running tests: | |||
cover_profile: lint $(DEPS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you still want the bins as a dep instead of DEPS
.travis.yml
Outdated
@@ -71,6 +71,7 @@ install: | |||
|
|||
script: | |||
- EMBEDROCKSDB=0 make cover_ci |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can just add j2 here and remove the next line (see comment below)
Changes Unknown when pulling 5b8c306 on testbuild into ** on master**. |
As the title.