Add tests for passNim feature.

This commit is contained in:
SolitudeSF 2019-07-27 19:38:50 +03:00 committed by Dominik Picheta
commit b5b85489fa
3 changed files with 16 additions and 0 deletions

View file

@ -840,3 +840,7 @@ test "remove skips packages with revDeps (#504)":
check execNimble("path", "nimboost").exitCode != QuitSuccess
check execNimble("path", "nimfp").exitCode != QuitSuccess
test "pass options to the compiler with `nimble install`":
cd "passNimFlags":
check execNimble("install", "--passNim:-d:passNimIsWorking").exitCode == QuitSuccess