mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
a37832d7f9
* Checks the list of stats keys returned from the HTTP endpoint is complete -- delineating between riak and riak_ee. The test will fail if the list returned from the HTTP endpoint does not exactly match the expected list. This behavior acts as a forcing function to ensure that the expected list is properly maintained as stats are added and removed. * Modifies reset-current-env to properly clean dependencies when a full clean is requested and remove the current directory in the target test instance. * Adds logging to verify_riak_stats to explain the addition steps being performed * Adds rt:product/1 to determine whether a node is running riak, riak_ee, or riak_cs * Adds tools.mk support and eunit scaffolding to rebar.config * Modifies reset-current-env.sh to remove the current directory in the target test instance
41 lines
745 B
Makefile
41 lines
745 B
Makefile
.PHONY: deps
|
|
|
|
APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
|
|
xmerl webtool eunit syntax_tools compiler hipe mnesia public_key \
|
|
observer wx gs
|
|
PLT = $(HOME)/.riak-test_dialyzer_plt
|
|
|
|
all: deps compile
|
|
./rebar skip_deps=true escriptize
|
|
SMOKE_TEST=1 ./rebar skip_deps=true escriptize
|
|
|
|
deps:
|
|
./rebar get-deps
|
|
|
|
docsclean:
|
|
@rm -rf doc/*.png doc/*.html doc/*.css edoc-info
|
|
|
|
compile: deps
|
|
./rebar compile
|
|
|
|
clean:
|
|
@./rebar clean
|
|
|
|
distclean: clean
|
|
@rm -rf riak_test deps
|
|
|
|
quickbuild:
|
|
./rebar skip_deps=true compile
|
|
./rebar escriptize
|
|
|
|
##################
|
|
# Dialyzer targets
|
|
##################
|
|
|
|
# Legacy target left for compatibility with any existing automation
|
|
# scripts ...
|
|
clean_plt:
|
|
cleanplt
|
|
|
|
include tools.mk
|