Commit cc22e243 authored by Inphi's avatar Inphi Committed by GitHub

cannon: Avoid running expensive program tests in merge queue (#12779)

parent 28da3f80
...@@ -875,6 +875,10 @@ func TestEVMFault(t *testing.T) { ...@@ -875,6 +875,10 @@ func TestEVMFault(t *testing.T) {
} }
func TestHelloEVM(t *testing.T) { func TestHelloEVM(t *testing.T) {
if os.Getenv("SKIP_SLOW_TESTS") == "true" {
t.Skip("Skipping slow test because SKIP_SLOW_TESTS is enabled")
}
t.Parallel() t.Parallel()
versions := GetMipsVersionTestCases(t) versions := GetMipsVersionTestCases(t)
...@@ -918,6 +922,10 @@ func TestHelloEVM(t *testing.T) { ...@@ -918,6 +922,10 @@ func TestHelloEVM(t *testing.T) {
} }
func TestClaimEVM(t *testing.T) { func TestClaimEVM(t *testing.T) {
if os.Getenv("SKIP_SLOW_TESTS") == "true" {
t.Skip("Skipping slow test because SKIP_SLOW_TESTS is enabled")
}
t.Parallel() t.Parallel()
versions := GetMipsVersionTestCases(t) versions := GetMipsVersionTestCases(t)
...@@ -959,6 +967,10 @@ func TestClaimEVM(t *testing.T) { ...@@ -959,6 +967,10 @@ func TestClaimEVM(t *testing.T) {
} }
func TestEntryEVM(t *testing.T) { func TestEntryEVM(t *testing.T) {
if os.Getenv("SKIP_SLOW_TESTS") == "true" {
t.Skip("Skipping slow test because SKIP_SLOW_TESTS is enabled")
}
t.Parallel() t.Parallel()
versions := GetMipsVersionTestCases(t) versions := GetMipsVersionTestCases(t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment