Skip to content

Instantly share code, notes, and snippets.

@nickkeers
Created March 2, 2018 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickkeers/62e13a05dc3048735783272c871bed9c to your computer and use it in GitHub Desktop.
Save nickkeers/62e13a05dc3048735783272c871bed9c to your computer and use it in GitHub Desktop.
test-module: compile
@if [ -z $(suite) ]; then \
@echo "No suite specified to be ran, please use make test-module suite=<module>"; \
else \
${REBAR} eunit skip_deps=true suite=$(suite); \
fi
@nickkeers
Copy link
Author

Lets you run a specific eunit suite - add to tools.mk in a riak project

@nickkeers
Copy link
Author

nickkeers commented Mar 2, 2018

        @if [ -z "$(suite)" ]; then \
            echo "No suite specified to be ran, please use make test-module suite=<module>"; \
        else \
            ${REBAR} eunit skip_deps=true suite=$(suite); \
        fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment