Commit graph

8 commits

Author SHA1 Message Date
Pavel Raiskup
8ce108266b tests: enable tests at RPM build time
- Some tests can not work at rpmbuild time, because we can not run
  rpmbuild in rpmbuild, and there's no .git/ directory, skip.
- Use 'titodir' below 'srcdir', to not pollute the /tmp/tito dir.
- The test_colors() test requires color-friendly TERM env.
- EL7 is EOL, do not enable tests there.
2024-11-06 11:19:55 +01:00
Pavel Raiskup
6feb4f2d21 tests: s/nosetests/pytest/
- Requires us to add pytest.ini to tell pytest where to look for test
  files, and set the python path.
- Mock drops terminal from the tested code, so we have to "mock" it in
  test_colors()
- Enable coverage in tox tests.
2024-11-06 11:19:55 +01:00
Tadej Janež
6f5a455aac
Modernize developer installation
Support the popular pip editable installation mode.

To work-around a problem in setuptools' develop target, generalize
'install_dir' to say all packages are in 'src' (for more info, see:
https://github.com/pypa/pip/issues/126).

Remove pre-generated bin/tito-dev script.
2020-03-24 09:25:44 +01:00
Paul Morgan
ea7404d6a5 DRY up test harness to use spec file for build deps
Ensure build deps are consistent across the spec file and test harness.

Note: http://fedoraproject.org/wiki/HOWTOFindMissingBuildRequires
says that some packages should not be BuildRequires because
"they would occur too often" and "are considered the minimum build
environment." However, Docker changes the scope of that assumption
to keep docker images small.
2014-07-04 16:26:23 +00:00
alfen
3b8cad219b ignored virtualenv and intellij related directories 2014-04-20 18:52:34 +02:00
Devan Goodwin
527e60bab4 Print output live for longer running rpmbuild commands. 2014-03-11 09:17:52 -03:00
Paul Morgan
8697c0d61d git should ignore generated manpage content 2010-09-09 21:50:21 +08:00
Steve 'Ashcrow' Milner
8936db2874 added gitignore and manifest files
Signed-off-by: Devan Goodwin <dgoodwin@rm-rf.ca>
2009-07-22 01:55:52 +08:00