diff --git a/Makefile b/Makefile index 516db825bd..a614e3bea0 100644 --- a/Makefile +++ b/Makefile @@ -183,3 +183,10 @@ build-docs: @cd docs && ./build.sh .PHONY: build-docs + +############################################################################### +### Test Traces ### +############################################################################### + +e2e-traces: + cd tests/e2e; go test -timeout 30s -run ^TestWriteExamples -v \ No newline at end of file diff --git a/tests/e2e/README.md b/tests/e2e/README.md index 897c7519f2..4fb3e721e8 100644 --- a/tests/e2e/README.md +++ b/tests/e2e/README.md @@ -16,7 +16,7 @@ When adding a new proposal type: The traces in `tracehandler_testdata` are generated by the test `trace_handlers_test.go/TestWriteExamples`. -You can regenerate them by running `./regenerate_traces.sh/`. +You can regenerate them by running `make e2e-traces` in the root of the repo. ## Running against traces