https://github.com/sclorg/scltests
Simple tests designed to keep up with regressions in scl-utils
https://github.com/sclorg/scltests
Last synced: 9 months ago
JSON representation
Simple tests designed to keep up with regressions in scl-utils
- Host: GitHub
- URL: https://github.com/sclorg/scltests
- Owner: sclorg
- License: gpl-2.0
- Created: 2015-01-27T11:17:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-21T08:01:52.000Z (about 11 years ago)
- Last Synced: 2025-01-22T03:09:15.795Z (over 1 year ago)
- Language: Python
- Size: 1020 KB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scltests
Simple tests designed to keep up with regressions in scl-utils
How to run **scltests**?
First, you have to meet the requirements, you have to have `python-click`, `PyYAML`, `mock`, `createrepo`, `scl-utils-build` and `python-colour-runner` (optional dependency) installed. Also user under which you will run these tests must be in user group `mock`
```
> $ ./run-tests.py --help
Usage: run-tests.py [OPTIONS] COMMAND [ARGS]...
Scltests builds and tests your software collections according to your
defined yaml config.
Options:
-h, --help Show this message and exit.
Commands:
list list available collections and mock configs
test build and test collection(s)
> $ ./run-tests.py test -h
Usage: run-tests.py test [OPTIONS] SCLS CFGS
Run tests for given software collections SCLS and mock configs CFGS.
Arguments:
SCLS and CFGS accept multiple values in format foo1:foo2 where fooX is
name of software collection or mock config (see list for available
options). Is it possible also to use all as argument. Note: all:foo1
specifies all available collections or configs except foo1.
Options:
--local-scl PATH Provide path to folder which contains scl-utils
repository.
-h, --help Show this message and exit.
```