trec_eval: specify bin in test

master
Sean Molenaar 2023-02-08 10:39:46 +01:00 committed by BrewTestBot
parent 8272c68832
commit f0d0578175
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class TrecEval < Formula
EOS
(testpath/"qrels.test").write(qrels)
(testpath/"results.test").write(results)
test_out = shell_output("trec_eval -m runid -m num_q -m\
test_out = shell_output("#{bin}/trec_eval -m runid -m num_q -m\
map -m ndcg_cut.10 -m P.10 -m recall.10 qrels.test results.test")
assert_equal out, test_out
end