Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. include ../Makefile.Common
  2. .PHONY: list-tests
  3. list-tests:
  4. RUN_TESTBED=1 $(GOTEST) -v ./tests --test.list '.*' | grep "^Test"
  5. .PHONY: run-tests
  6. run-tests: $(GOJUNIT)
  7. GOJUNIT=$(GOJUNIT) ./runtests.sh
  8. .PHONY: list-loadtest-tests
  9. list-loadtest-tests:
  10. RUN_TESTBED=1 $(GOTEST) -v ./tests --test.list '.*' | grep "^Test"
  11. .PHONY: list-stability-tests
  12. list-stability-tests:
  13. RUN_TESTBED=1 $(GOTEST) -v ./stabilitytests --test.list '.*' | grep "^Test"
  14. .PHONY: run-stability-tests
  15. run-stability-tests:
  16. TESTCASE_DURATION=1h TEST_ARGS="$${TEST_ARGS} -timeout 70m" TESTS_DIR=stabilitytests ./runtests.sh
  17. .PHONY: list-correctness-metrics-tests
  18. list-correctness-metrics-tests:
  19. RUN_TESTBED=1 $(GOTEST) -v ./correctnesstests/metrics --test.list '.*' | grep "^Test"
  20. .PHONY: run-correctness-metrics-tests
  21. run-correctness-metrics-tests: $(GOJUNIT)
  22. TESTS_DIR=correctnesstests/metrics GOJUNIT=$(GOJUNIT) ./runtests.sh
  23. .PHONY: list-correctness-traces-tests
  24. list-correctness-traces-tests:
  25. RUN_TESTBED=1 $(GOTEST) -v ./correctnesstests/traces --test.list '.*' | grep "^Test"
  26. .PHONY: run-correctness-traces-tests
  27. run-correctness-traces-tests: $(GOJUNIT)
  28. TESTS_DIR=correctnesstests/traces GOJUNIT=$(GOJUNIT) ./runtests.sh