You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
350 B

  1. package main
  2. import (
  3. "os"
  4. e2e "github.com/tendermint/tendermint/test/e2e/pkg"
  5. )
  6. // Test runs test cases under tests/
  7. func Test(testnet *e2e.Testnet) error {
  8. logger.Info("Running tests in ./tests/...")
  9. err := os.Setenv("E2E_MANIFEST", testnet.File)
  10. if err != nil {
  11. return err
  12. }
  13. return execVerbose("./build/tests", "-test.count", "1")
  14. }