rpc: skip test if solc version doesn't match

This commit is contained in:
obscuren 2015-06-09 21:02:24 +02:00
parent bc6031e7bb
commit 14994fa21b

@ -35,7 +35,7 @@ func TestCompileSolidity(t *testing.T) {
if solc == nil {
t.Skip("no solc found: skip")
} else if solc.Version() != solcVersion {
t.Logf("WARNING: solc different version found (%v, test written for %v, may need to update)", solc.Version(), solcVersion)
t.Skip("WARNING: skipping test because of solc different version (%v, test written for %v, may need to update)", solc.Version(), solcVersion)
}
source := `contract test {\n` +
" /// @notice Will multiply `a` by 7." + `\n` +