Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/autotest/autotest
Autotest - Fully automated tests on Linux
https://github.com/autotest/autotest
linux python testing
Last synced: 30 days ago
JSON representation
Autotest - Fully automated tests on Linux
- Host: GitHub
- URL: https://github.com/autotest/autotest
- Owner: autotest
- License: other
- Created: 2011-09-19T15:25:16.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T07:51:13.000Z (10 months ago)
- Last Synced: 2024-08-08T23:27:04.698Z (5 months ago)
- Topics: linux, python, testing
- Language: Python
- Homepage: http://autotest.github.io
- Size: 90.6 MB
- Stars: 701
- Watchers: 128
- Forks: 354
- Open Issues: 123
-
Metadata Files:
- Readme: README.fedora
- License: LICENSE
Awesome Lists containing this project
README
# For installation and configuration instruction on Fedora-based systems,
# consult https://fedoraproject.org/wiki/Install_and_configure_autotest# For creating your own package, follow these instructions:
1) Decide what autotest version/branch/commit you want to package. The following assumes you want to package the next tree, at commit 0c2ab5b5306f6ccf5b47ff8b989faa2ad412c3d6. This also assumes you building packages for the fedora-19-x86_64 target.
2) Modify the specfile and update the commit accordingly.
3) Write down the "shortcommit" also, it's just the first 7 characters of the commit hash.
4) Get a tarball out of the autotest tree. This is usually a matter of running something like:
$ git archive next --prefix autotest-0.15.1.next.git0c2ab5b/ -o /tmp/autotest-src/autotest-0.15.1.next.git0c2ab5b.tar.gz
Please pay attention to the prefix appended to the archive and the output in a separate, empty directory.
5) Create a SRPM out of the SPEC file and tarball by running something like:
$ mock --buildsrpm --spec autotest-framework.spec --sources=/tmp/autotest-src
6) Now save your SRPM to another location, or else, it'll be overwritten by the next mock run:
$ cp /var/lib/mock/fedora-19-x86_64/result/autotest-framework-0.15.1.next.git0c2ab5b-1.fc19.src.rpm /tmp/
7) Now build the "binary" RPMS out of the SRPM:
$ mock --rebuild /tmp/autotest-framework-0.15.1.next.git0c2ab5b-1.fc19.src.rpm
8) Enjoy! The RPMS should be located at: /var/lib/mock/fedora-19-x86_64/result