ITKeyword,专注技术干货聚合推荐

注册 | 登录

java jsp与jquery easyui整合代码下载,有n个demo教程

yaerfeng 分享于 2016-07-21

2019阿里云全部产品优惠券(新购或升级都可以使用,强烈推荐)
领取地址https://promotion.aliyun.com/ntms/yunparter/invite.html

up vote 0 down vote favorite

I use cabal with test-suites. The processor I use (HTF) allows flags (e.g. --quiet). How can I add such flags in the cabal file in order to be passed automatically to the test suite program when it is executed?

haskell cabal htf share | improve this question edited Apr 11 '16 at 20:18 Chris Martin 16.9k 2 32 61 asked Apr 11 '16 at 20:13 user855443 102 9 1   TBH: I don't know (if there even is one) - but in this case why don't you make this a default in your implementation (using htfMainWithArgs)? - look for the args in your main, if none are there pass your default ... yes it's a hack and maybe someone knows the correct flag but till then it should work for you –  Carsten Apr 12 '16 at 5:11      also I think this could be a duplicate of stackoverflow.com/questions/28902169/… –  Carsten Apr 12 '16 at 5:12      great idea - did work immediately! htfMainWithArgs ["--quiet"] htf_importedTests does the trick! –  user855443 Apr 16 '16 at 18:01      @Cartsen since your comment provided an answer, care to post it as one? –  sclv Apr 28 '16 at 5:15 add a comment  | 

active oldest votes

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

  draft saved draft discarded

Sign up or log in

Sign up using Google

Sign up using Facebook

Sign up using Email and Password

Post as a guest

Name Email

Post as a guest

Name Email discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged haskell cabal htf or ask your own question.

up vote 0 down vote favorite I use cabal with test-suites. The processor I use (HTF) allows flags (e.g. --quiet). How can I add such flags in the cabal file in order to be passed a

相关阅读排行


用户评论

游客

相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。