aboutsummaryrefslogtreecommitdiffstats
path: root/common/compiler/solidity_test.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-09 21:19:20 +0800
committerobscuren <geffobscura@gmail.com>2015-06-09 21:19:20 +0800
commit76148515fa7c4681d9d5d22d98e84474a645d014 (patch)
treef3f6bdbc6f18b5146db923557212fb48ef91a5de /common/compiler/solidity_test.go
parentf371e6c81a219b09b8c1822db764ab942ab8ca98 (diff)
downloaddexon-76148515fa7c4681d9d5d22d98e84474a645d014.tar
dexon-76148515fa7c4681d9d5d22d98e84474a645d014.tar.gz
dexon-76148515fa7c4681d9d5d22d98e84474a645d014.tar.bz2
dexon-76148515fa7c4681d9d5d22d98e84474a645d014.tar.lz
dexon-76148515fa7c4681d9d5d22d98e84474a645d014.tar.xz
dexon-76148515fa7c4681d9d5d22d98e84474a645d014.tar.zst
dexon-76148515fa7c4681d9d5d22d98e84474a645d014.zip
skip sol on new compiler
Diffstat (limited to 'common/compiler/solidity_test.go')
-rw-r--r--common/compiler/solidity_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/compiler/solidity_test.go b/common/compiler/solidity_test.go
index 46f733e59..59b6b6cd6 100644
--- a/common/compiler/solidity_test.go
+++ b/common/compiler/solidity_test.go
@@ -31,7 +31,7 @@ func TestCompiler(t *testing.T) {
if err != nil {
t.Skip("solc not found: skip")
} else if sol.Version() != solcVersion {
- t.Logf("WARNING: a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
+ t.Skip("WARNING: skipping due to a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
}
contracts, err := sol.Compile(source)
if err != nil {
@@ -54,7 +54,7 @@ func TestCompileError(t *testing.T) {
if err != nil || sol.version != solcVersion {
t.Skip("solc not found: skip")
} else if sol.Version() != solcVersion {
- t.Logf("WARNING: a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
+ t.Skip("WARNING: skipping due to a newer version of solc found (%v, expect %v)", sol.Version(), solcVersion)
}
contracts, err := sol.Compile(source[2:])
if err == nil {