github.com/cgcardona/r-subnet-evm@v0.1.5/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/cgcardona/r-subnet-evm/tests/precompile/solidity" 15 "github.com/cgcardona/r-subnet-evm/tests/utils" 16 ) 17 18 func init() { 19 utils.RegisterNodeRun() 20 } 21 22 func TestE2E(t *testing.T) { 23 if basePath := os.Getenv("TEST_SOURCE_ROOT"); basePath != "" { 24 os.Chdir(basePath) 25 } 26 gomega.RegisterFailHandler(ginkgo.Fail) 27 ginkgo.RunSpecs(t, "subnet-evm precompile ginkgo test suite") 28 }