aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/pb/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/pb/test')
-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