azure-pipelines icon indicating copy to clipboard operation
azure-pipelines copied to clipboard

Feature/raw cargo opts

Open bazaah opened this issue 5 years ago • 6 comments

Adds a parameter 'test_args_raw' that allows users to pass raw args/options to cargo/libtest.

It also refactors how conditional checks are handled: rather than checking all combinations of bools for each endpoint, it builds up a variable, which is passed to cargo test. This makes the logic easier to extend and reason about.

Finally, the various eq / ne conditionals have their syntax altered:

  • Changed 'true' (string) => true (bool)
  • Swapped arg positions so the correct type coercion occurs

bazaah avatar Jul 25 '19 09:07 bazaah