Commit Graph

34 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
7b33931df2 Replace flake8 with ruff. 2023-04-17 10:21:20 -04:00
Itamar Turner-Trauring
bf7d03310f Hide all _trial_temp. 2021-11-17 11:09:45 -05:00
Jean-Paul Calderone
347377aaab Get rid of check_memory which depends on the control port
This was some kind of memory usage analysis tool.  It depends on the control
port so it cannot work after I delete the control port.  The code itself is
messy, undocumented, and has no automated tests.  I don't know if it works at
all anymore.  Even if it does, no one ever runs it.

Measuring Tahoe-LAFS' memory usage over the course of maintenance and
development is a lovely idea but the project has not managed to adopt (or
maintain?) that practice based on this tool.  Given sufficient interest we can
resurrect this idea using a more streamlined process and less invasive tools
in the future.
2021-10-15 11:43:34 -04:00
Ross Patterson
2268293107 test(vcs): Reconcile devel docs from PR #798 2020-09-30 07:37:52 -07:00
Ross Patterson
51338bd874 build(make): Add targets for running tests
Fully parallelize the build of the environments since they tend to be network I/O
bound.  Parallelize the run of tests to use all CPU cores.
2020-09-17 16:08:20 -07:00
Itamar Turner-Trauring
6f2f460bf3 Merge remote-tracking branch 'origin/master' into 3374.codec-monitor-python-3-take-2 2020-08-27 14:53:45 -04:00
Itamar Turner-Trauring
3d05f6cfaf Support multiple venvs. 2020-08-20 13:06:00 -04:00
Itamar Turner-Trauring
43e36ebcb6 Ignore Futurize-generated backup files. 2020-08-07 13:09:25 -04:00
Chad Whitacre
3f887f9279 Respond to review
- Use the subunitv2-file reporter to allow for nicer error handling
- Undo the depgraph.sh change, see if it really matters
- Rename passing -> ratchet-passing to distinguish from ported modules
  tracker
- Misc. documentation and ratchet.sh improvements
2020-07-14 20:11:58 -04:00
Chad Whitacre
d25c8b1a25 Start ratcheting up passing tests under Python 3 2020-07-13 22:42:48 -04:00
Chad Whitacre
fec1f73bfa Ignore eliot.log, some testing artifact 2020-07-13 22:27:59 -04:00
Jean-Paul Calderone
6bd2cc47b3
Remove some git configuration related to magic-folder 2020-02-13 10:26:48 -05:00
heartsucker
0e7f271494
added dropin.cache to .gitignore 2019-04-18 12:58:58 +02:00
Jean-Paul Calderone
fdbfed55d7 Try not to check in the environment plaintext 2019-04-03 13:16:46 -04:00
Gordon Hall
58a023e477 add dockerfile for hacking with docker compose file for local environment 2017-09-19 09:25:39 -07:00
Brian Warner
11ae1dcc2b .gitignore: add .hypothesis/ 2017-06-06 19:04:58 +01:00
Brian Warner
b637636ef9 remove _appname.py file
We no longer need the complexity of choosing the application name at
runtime. This removes the setup.py code which populates the _appname.py
file, and the code in __init__.py which reads it. It does not yet remove
the tests which compare the output of e.g. `tahoe --version` against
`allmydata.__appname__`, which I think could be removed, but that's more
invasive than I want to do right now.

closes ticket:2754
2016-08-11 23:24:11 -07:00
Daira Hopwood
646b75059a .gitignore: add /smoke_magicfolder/, delete obsolete stuff.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-07-21 12:35:59 -07:00
Brian Warner
608719df91 tox: add "coverage" environment
Run with "tox -e coverage". Uses a new helper
module (allmydata.test.run_trial) to let us import+execute trial without
knowing exactly where the "trial" binary lives, which helps with using
"coverage run" under tox.
2016-05-09 14:32:21 -07:00
Brian Warner
0acc1dc079 docs: run sphinx-quickstart, move old Makefile
* .gitignore: add docs/_build (sphinx output directory)
2016-03-29 21:02:14 -07:00
Brian Warner
79db3d089f minor .egg-info name-change cleanups
.gitignore, 'make distclean' needs to target the new names
2016-03-25 12:55:09 -07:00
Brian Warner
24ed8431b2 move 'check-memory' from Makefile into tox.ini
So use 'tox -e check-memory' instead of 'make check-memory'. The tox
version will create a virtualenv and install tahoe for you before
running the tests, removing one use of the 'tahoe @FILENAME' hack (which
was used to run a python file with a PYTHONPATH set to import tahoe's
dependencies).
2016-03-08 21:19:41 -08:00
Brian Warner
e052134309 add initial tox support
This adds support for two environments: 'py27' for basic tests, and
'deprecations' to run tests with deprecation warnings turned on (the
latter is meant to be run from a buildbot step that knows how to count
and format the warnings nicely).
2016-03-08 21:16:36 -08:00
amontero
b58c354f36 Add pkg-config directory to .gitignore 2014-09-13 21:00:02 -07:00
Daira Hopwood
4ce53ffe1d Ignore .*.kate-swp and /*.patch files.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-07-16 16:14:42 +01:00
Mark Berger
3a5730c62a Ignore .DS_Store files 2013-07-15 14:45:14 -04:00
Brian Warner
085ee6a63f .gitignore: ignore the generated zope.interface egg too
Some dependencies are installed in the top-level directory, maybe
because they're required by the build process itself? I'm not sure.
Twisted is one of these, if the system version is not new enough, and
our .gitignore has a clause to ignore the resulting .egg directory. Now
that we've bumped our zope.interface dependency, it sometimes builds a
z.i egg too (even if it doesn't build a Twisted one). So ignore both.
2013-05-01 10:25:31 -07:00
David-Sarah Hopwood
edc1f5f67f Makefile: add 'make tmpfstest', which uses a tmpfs for _trial_temp.
This probably only works on Linux. It uses sudo to mount and unmount the tmpfs,
which may prompt for a password. refs #20

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-10-25 02:16:21 +01:00
David-Sarah Hopwood
bdd0b55b0d Ignore *~, /miscaptures.txt and /violations.txt.
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-09-17 14:06:48 -07:00
Brian Warner
326b2db54a .gitignore: ignore generated test-coverage files too 2012-01-12 22:56:29 -08:00
Brian Warner
2efcdc93fa .gitignore: also ignore tahoe-deps and .tgz, to fix 'make tarballs'
Otherwise, the get-version-from-git code thinks the tree is dirty, and
creates SUMO tarballs with -dirty in the name.
2012-01-12 13:09:25 -08:00
Brian Warner
96ef2a7657 restore .gitignore, stop .darcs-boringfile it 2012-01-09 02:52:43 +00:00
Brian Warner
2cccc1a3df remove setuptools_darcs.egg 2012-01-08 22:55:45 +00:00
Brian Warner
d887782418 add test-git-ignore.py, to port the 'clean' buildbot test to git
add .gitignore to match .darcs-boringfile, mostly
2012-01-08 14:12:32 -08:00