2016-09-28 03:32:18 +00:00
|
|
|
/db
|
2014-04-25 21:41:37 +00:00
|
|
|
/var/spack/stage
|
2016-06-29 08:41:55 +00:00
|
|
|
/var/spack/cache
|
2018-05-19 00:53:58 +00:00
|
|
|
/var/spack/environments
|
2016-05-29 03:27:22 +00:00
|
|
|
/var/spack/repos/*/index.yaml
|
|
|
|
/var/spack/repos/*/lock
|
2020-06-04 03:09:06 +00:00
|
|
|
__pycache__/
|
2013-02-14 01:50:44 +00:00
|
|
|
*.pyc
|
2016-07-18 15:39:26 +00:00
|
|
|
/opt
|
2013-02-14 01:50:44 +00:00
|
|
|
*~
|
2013-12-10 04:17:08 +00:00
|
|
|
.DS_Store
|
2013-12-25 23:40:32 +00:00
|
|
|
.idea
|
2017-08-05 18:18:19 +00:00
|
|
|
# Ignore everything in /etc/spack except /etc/spack/defaults
|
|
|
|
/etc/spack/*
|
|
|
|
!/etc/spack/defaults
|
2014-06-18 00:23:14 +00:00
|
|
|
/etc/spackconfig
|
2014-07-08 08:56:32 +00:00
|
|
|
/share/spack/dotkit
|
2014-08-17 05:22:34 +00:00
|
|
|
/share/spack/modules
|
2016-09-20 09:26:25 +00:00
|
|
|
/share/spack/lmod
|
2015-12-25 22:00:33 +00:00
|
|
|
/TAGS
|
2016-10-11 22:22:46 +00:00
|
|
|
*.swp
|
2016-01-19 17:29:39 +00:00
|
|
|
/htmlcov
|
|
|
|
.coverage
|
2019-09-17 20:25:33 +00:00
|
|
|
\#*
|
2016-10-05 20:00:27 +00:00
|
|
|
.#*
|
2020-03-13 08:39:34 +00:00
|
|
|
.cache
|
2018-06-29 22:03:57 +00:00
|
|
|
lib/spack/spack/test/.cache
|
unit tests: replace nose with pytest (#2502)
* Porting: substitute nose with ytest
This huge commit substitutes nose with pytest as a testing system. Things done here:
* deleted external/nose as it is no longer used
* moved mock resources in their own directory 'test/mock/'
* ported two tests (cmd/find, build_system) to pytest native syntax as an example
* build_environment, log: used monkeypatch instead of try/catch
* moved global mocking of fetch_cache to an auto-used fixture
* moved global mocking from test/__init__.py to conftest.py
* made `spack test` a wrapper around pytest
* run-unit-tests: avoid running python 2.6 tests under coverage to speed them up
* use `pytest --cov` instead of coverage run to cut down testing time
* mock/packages_test: moved mock yaml configuration to files instead of leaving it in the code as string literals
* concretize.py: ported tests to native pytest, reverted multiprocessing in pytest.ini as it was creating the wrong report for coveralls
* conftest.py, fixtures: added docstrings
* concretize_preferences.py: uses fixtures instead of subclassing MockPackagesTest
* directory_layout.py: uses fixtures instead of subclassing MockPackagesTest
* install.py: uses fixtures instead of subclassing MockPackagesTest
* optional_deps.py: uses fixtures instead of subclassing MockPackagesTest
optional_deps.py: uses fixtures instead of subclassing MockPackagesTest
* packages.py: uses fixtures instead of subclassing MockPackagesTest
* provider_index.py: uses fixtures instead of subclassing MockPackagesTest
* spec_yaml.py: uses fixtures instead of subclassing MockPackagesTest
* multimethod.py: uses fixtures instead of subclassing MockPackagesTest
* install.py: now uses mock_archive_url
* git_fetch.py: uses fixtures instead of subclassing MockPackagesTest
* hg_fetch.py: uses fixtures instead of subclassing MockPackagesTest
* svn_fetch.py, mirror.py: uses fixtures instead of subclassing MockPackagesTest
repo.py: deleted
* test_compiler_cmd.py: uses fixtures instead of subclassing MockPackagesTest
* cmd/module.py, cmd/uninstall.py: uses fixtures instead of subclassing MockDatabase
* database.py: uses fixtures instead of subclassing MockDatabase, removed mock/database
* pytest: uncluttering fixture implementations
* database: changing the scope to 'module'
* config.py: uses fixtures instead of subclassing MockPackagesTest
* spec_dag.py, spec_semantics.py: uses fixtures instead of subclassing MockPackagesTest
* stage.py: uses fixtures instead of subclassing MockPackagesTest. Removed mock directory
* pytest: added docstrings to all the fixtures
* pytest: final cleanup
* build_system_guess.py: fixed naming and docstrings as suggested by @scheibelp
* spec_syntax.py: added expected failure on parsing multiple specs closes #1976
* Add pytest and pytest-cov to Spack externals.
* Make `spack flake8` ignore externals.
* run-unit-tests runs spack test and not pytest.
* Remove all the special stuff for `spack test`
- Remove `conftest.py` magic and all the special case stuff in `bin/spack`
- Spack commands can optionally take unknown arguments, if they want to
handle them.
- `spack test` is now a command like the others.
- `spack test` now just delegates its arguments to `pytest`, but it does
it by receiving unknown arguments and NOT taking an explicit
help argument.
* Fix error in fixtures.
* Improve `spack test` command a bit.
- Now supports an approximation of the old simple interface
- Also supports full pytest options if you want them.
* Use external coverage instead of pytest-cov
* Make coverage use parallel-mode.
* change __init__.py docs to include pytest
2016-12-29 15:48:48 +00:00
|
|
|
/bin/spackc
|
2017-12-13 07:35:39 +00:00
|
|
|
*.in.log
|
|
|
|
*.out.log
|
2019-09-17 20:25:33 +00:00
|
|
|
*.orig
|
2020-03-10 08:58:40 +00:00
|
|
|
|
|
|
|
# Eclipse files
|
|
|
|
.project
|
|
|
|
.cproject
|
|
|
|
.pydevproject
|
2020-04-24 07:31:03 +00:00
|
|
|
|
|
|
|
# VSCode files
|
|
|
|
.vscode
|
2020-06-04 03:09:06 +00:00
|
|
|
.devcontainer
|