mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
THRIFT-3177 Fails to run rake test
Patch: István Karaszi
This commit is contained in:
parent
86a51e7eca
commit
401d399ed0
@ -86,7 +86,7 @@ end
|
||||
desc 'Run the compiler tests (requires full thrift checkout)'
|
||||
task :test do
|
||||
# ensure this is a full thrift checkout and not a tarball of the ruby libs
|
||||
cmd = 'head -1 ../../README 2>/dev/null | grep Thrift >/dev/null 2>/dev/null'
|
||||
cmd = 'head -1 ../../README.md 2>/dev/null | grep Thrift >/dev/null 2>/dev/null'
|
||||
system(cmd) or fail "rake test requires a full thrift checkout"
|
||||
sh 'make', '-C', File.dirname(__FILE__) + "/../../test/rb", "check"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user