Comments (2)
Yes. If you decorate a test with MPITest, then it will be tested with a bunch of communicators.
If you don't then it will be run symmetrically on on ranks.
Some examples are in:
https://github.com/rainwoodman/pmesh/tree/master/pmesh/tests
test-domain is fully of MPI tests. test-window is full of non-mpi tests. (You can also mix them in the same file, but that's probably not a good design decision).
The other 'feature' of run-tests.py is that it forces you to make sure the package is fully installable; it installs before testing.
Therefore for finding the tests, you must specify how to install them in setup.py. I find it easiest to install the tests as a subpackage of the main package. e.g. https://github.com/rainwoodman/pmesh/blob/master/setup.py#L49
(don't forget init.py)
There are other "cleaner" ways to install the tests, e.g. with a MANIFEST.in file, but more troublesome.
I shall add some information about this in README.
from pysm_public.
implemented in #18
from pysm_public.
Related Issues (18)
- code license HOT 1
- Modifications for partial sky HOT 3
- Tag a release HOT 3
- Is it possible to simulate the galactic continuum foreground around 1.4 GHz? HOT 2
- Units of noise levels in Instrument HOT 2
- Upgrading foreground templates to ~arcmin resolution
- Reduce PySM package size HOT 4
- How to calculate the E and B mode signal from Q and U map? HOT 2
- Nosetests failing HOT 1
- units of sky maps
- Integration for unit conversion
- `pysm.Instrument` seems not working properly in some cases HOT 1
- `instrument.observe` returns different maps according to the value of the flag `write_outputs`
- error in the `pysm.Instrument` documentation HOT 2
- Dust temperature can't be scalar HOT 1
- Unit tests
- K_RJ bandpass unit conversion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysm_public.