forked from launchdarkly/c-server-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (13 loc) · 855 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TEMP_TEST_OUTPUT=/tmp/sse-contract-test-service.log
build-contract-tests:
@mkdir -p build && cd build && cmake -DBUILD_TEST_SERVICE=ON .. && cmake --build .
start-contract-test-service: build-contract-tests
@./build/contract-tests/testservice
start-contract-test-service-bg:
@echo "Test service output will be captured in $(TEMP_TEST_OUTPUT)"
@make start-contract-test-service >$(TEMP_TEST_OUTPUT) 2>&1 &
run-contract-tests:
@curl -s https://raw.githubusercontent.com/launchdarkly/sdk-test-harness/main/downloader/run.sh \
| VERSION=v1.6.2 PARAMS="-url http://localhost:8000 -debug -stop-service-at-end $(TEST_HARNESS_PARAMS)" sh
contract-tests: build-contract-tests start-contract-test-service-bg run-contract-tests
.PHONY: build-contract-tests start-contract-test-service start-contract-test-service-bg run-contract-tests contract-test