mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
23 lines
549 B
Go
23 lines
549 B
Go
// Copyright (C) 2023, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package precompile
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
ginkgo "github.com/onsi/ginkgo/v2"
|
|
|
|
// Import the solidity package, so that ginkgo maps out the tests declared within the package
|
|
"github.com/luxfi/evm/tests/precompile/solidity"
|
|
)
|
|
|
|
func TestE2E(t *testing.T) {
|
|
if basePath := os.Getenv("TEST_SOURCE_ROOT"); basePath != "" {
|
|
os.Chdir(basePath)
|
|
}
|
|
solidity.RegisterAsyncTests()
|
|
ginkgo.RunSpecs(t, "evm precompile ginkgo test suite")
|
|
}
|