.PHONY: test test-io-stress sweep help

help:
	@echo "Available targets:"
	@echo "  test           - Run pytest on hth-platform test suite"
	@echo "  test-io-stress - Run prod2u_load_sweep io-stress regression on mrdimm and 6400-v2"
	@echo "  sweep          - Alias for test-io-stress"

test:
	/opt/prod2u/venv/bin/pytest /workspace/hth-platform/tests

test-io-stress:
	/opt/prod2u/venv/bin/python3 tools/prod2u_load_sweep.py --product mrdimm --port mock --mode all --duration 3.0 --interval 0.2
	/opt/prod2u/venv/bin/python3 tools/prod2u_load_sweep.py --product 6400-v2 --port mock --mode walk --duration 3.0 --interval 0.2

sweep: test-io-stress
