Skip to content

Commit

Permalink
Add make target for e2e traces
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Oct 9, 2023
1 parent 61785a5 commit ecd0fb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ecd0fb7

Please sign in to comment.