From 14994fa21bf6f05554ff370d41005d06b68d20a5 Mon Sep 17 00:00:00 2001
From: obscuren <geffobscura@gmail.com>
Date: Tue, 9 Jun 2015 21:02:24 +0200
Subject: rpc: skip test if solc version doesn't match

---
 rpc/api_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'rpc')

diff --git a/rpc/api_test.go b/rpc/api_test.go
index d1dcad266..c3546e98f 100644
--- a/rpc/api_test.go
+++ b/rpc/api_test.go
@@ -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` +
-- 
cgit v1.2.3