Skip to content

Allow passing test arguments in Makefile

Konstantin Ivanov requested to merge martoon/srk8-test-arguments into master

Description

Actually this commit does 3 things:

  1. Runs tests with --fast (in order not to rebuild the whole project when switch between building sources and building tests).

  2. Runs tests with --color.

  3. Allows providing custom test arguments to the test executable:

make test TEST_ARGUMENTS=--fail-fast

Related issue(s)

https://issues.serokell.io/issue/SRK-8

Checklist for your Merge Request

Related changes (conditional)

  • Tests

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

Merge request reports