You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/flakeguard/Makefile
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,4 +10,18 @@ test:
10
10
11
11
.PHONY: example
12
12
example:
13
-
go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --skip-tests=TestPanic --max-pass-ratio=1 --race=false --output-json=example_results.json
13
+
rm -rf example_results
14
+
mkdir -p example_results
15
+
- go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --skip-tests=TestPanic,TestFlakyPanic --max-pass-ratio=1 --race=false --output-json=example_results/example_run_1.json
16
+
- go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --skip-tests=TestPanic,TestFlakyPanic --max-pass-ratio=1 --race=false --output-json=example_results/example_run_2.json
17
+
- go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --skip-tests=TestPanic,TestFlakyPanic --max-pass-ratio=1 --race=false --output-json=example_results/example_run_3.json
18
+
go run . aggregate-results --results-path ./example_results --output-results ./example_results/all_tests_example.json
19
+
20
+
.PHONY: example_panic
21
+
example_panic:
22
+
rm -rf example_results
23
+
mkdir -p example_results
24
+
- go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --skip-tests=TestPanic --max-pass-ratio=1 --race=false --output-json=example_results/example_run_1.json
25
+
- go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --skip-tests=TestPanic --max-pass-ratio=1 --race=false --output-json=example_results/example_run_2.json
26
+
- go run . run --project-path=./runner --test-packages=./example_test_package --run-count=5 --skip-tests=TestPanic --max-pass-ratio=1 --race=false --output-json=example_results/example_run_3.json
27
+
go run . aggregate-results --results-path ./example_results --output-results ./example_results/all_tests_example.json
0 commit comments