github.com/ava-labs/subnet-evm@v0.6.4/tests/precompile/precompile_test.go (about) 1 // Copyright (C) 2023, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package precompile 5 6 import ( 7 "os" 8 "testing" 9 10 ginkgo "github.com/onsi/ginkgo/v2" 11 "github.com/onsi/gomega" 12 13 // Import the solidity package, so that ginkgo maps out the tests declared within the package 14 "github.com/ava-labs/subnet-evm/tests/precompile/solidity" 15 ) 16 17 func TestE2E(t *testing.T) { 18 if basePath := os.Getenv("TEST_SOURCE_ROOT"); basePath != "" { 19 os.Chdir(basePath) 20 } 21 gomega.RegisterFailHandler(ginkgo.Fail) 22 solidity.RegisterAsyncTests() 23 ginkgo.RunSpecs(t, "subnet-evm precompile ginkgo test suite") 24 }