From ecd0fb75b5aac6ce826b295d356fedc2f36a1baf Mon Sep 17 00:00:00 2001
From: Philip Offtermatt
Date: Mon, 9 Oct 2023 09:39:29 +0200
Subject: [PATCH] Add make target for e2e traces
---
Makefile | 7 +++++++
tests/e2e/README.md | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
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