aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/pb
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-04-21 14:28:00 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-04-21 14:28:00 -0700
commite621f13ecd64d005ad3dfe84f67e81dde6c113ef (patch)
treea4961c3978a85607ecb92517aa4984ce0f69ebbf /src/ruby/pb
parentc807ddd5ddf2eb84ac98ab2332580a20fc0614cd (diff)
Simplified ruby interop test files
Diffstat (limited to 'src/ruby/pb')
-rwxr-xr-xsrc/ruby/pb/test/client.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ruby/pb/test/client.rb b/src/ruby/pb/test/client.rb
index 2f83e67c52..695a5c4ea2 100755
--- a/src/ruby/pb/test/client.rb
+++ b/src/ruby/pb/test/client.rb
@@ -464,6 +464,9 @@ def main
opts = parse_args
stub = create_stub(opts)
NamedTests.new(stub, opts).method(opts['test_case']).call
+ p "OK: #{opts['test_case']}"
end
-main
+if __FILE__ == $0
+ main
+end