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)'
|
desc 'Run the compiler tests (requires full thrift checkout)'
|
||||||
task :test do
|
task :test do
|
||||||
# ensure this is a full thrift checkout and not a tarball of the ruby libs
|
# 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"
|
system(cmd) or fail "rake test requires a full thrift checkout"
|
||||||
sh 'make', '-C', File.dirname(__FILE__) + "/../../test/rb", "check"
|
sh 'make', '-C', File.dirname(__FILE__) + "/../../test/rb", "check"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user