Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,16 @@ build-buckets-mdapi: | $(CARGO_EXEC)
$(CARGO) build --release

.PHONY: test
test: test-unit
test: test-unit test-integration

.PHONY: test-unit
test-unit: | $(CARGO_EXEC)
$(CARGO) test --lib

.PHONY: test-integration
test-integration: | $(CARGO_EXEC)
$(CARGO) test --test rpc_handlers -- --nocapture

include ./deps/eng/tools/mk/Makefile.deps
include ./deps/eng/tools/mk/Makefile.agent_prebuilt.targ
include ./deps/eng/tools/mk/Makefile.smf.targ
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,10 @@ The functional tests require that postgresql is installed as well as
and configure a temporary postgres database and once the test has completed the
temporary database is removed within a few seconds. The tests use the same code
used by the `schema-manager` to prepare the database for use by the test suite.

To build `ephemeralpg` from source on SmartOS, the socket library must be linked
explicitly:

```
LDFLAGS=-lsocket make
```
Loading