| commit | 298d56b3b798abc340eb34a4f300604dacbca5bb | [log] [tgz] |
|---|---|---|
| author | Ramin Izadpanah <iramin@google.com> | Tue Nov 17 16:55:28 2020 +0000 |
| committer | Andrew Geissler <geissonator@yahoo.com> | Thu Dec 03 14:15:00 2020 +0000 |
| tree | 011df4444e17e5c44407f63efd57882588d651fc | |
| parent | d24ead8b6af1891b18f92ebed736d382bc704a3f [diff] |
ci-test: Add options to disable integration tests
Enable integration tests by default.
Give the user an option(--no-integration-tests) to disable them.
```
usage: unit-test.py [-h] -w WORKSPACE -p PACKAGE [-t]
[--integration-tests | --no-integration-tests] [-v]
[-r REPEAT] [-b BRANCH] [-n]
...
--integration-tests Enable integration tests [default].
--no-integration-tests
Disable integration tests.
```
This is needed, because some tests are run for a certain period
that increases the test execution time.
Tested on pid-control and host-ipmid proposed integration tests
with/without this option.
Signed-off-by: Ramin Izadpanah <iramin@google.com>
Change-Id: I21656dcdf300d990fef8d387725813e0dd1827e1
Build script for CI jobs in Jenkins.