summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2015-11-12 13:23:19 -0800
committerPeter Scheibel <scheibel1@llnl.gov>2015-11-23 18:59:48 -0800
commit099fa1df34a157a323aa023b69c52399a441b81b (patch)
tree157ffa6fb933b2b9d22c889d24ff8e70956e1d24 /var
parentcf3d236b9f8177b64aad311655542a848eebbf81 (diff)
downloadspack-099fa1df34a157a323aa023b69c52399a441b81b.tar.gz
spack-099fa1df34a157a323aa023b69c52399a441b81b.tar.bz2
spack-099fa1df34a157a323aa023b69c52399a441b81b.tar.xz
spack-099fa1df34a157a323aa023b69c52399a441b81b.zip
Use nose to run unit tests.
1. Adding a plugin to keep track of the total number of tests run as well as the number of tests with failures/errors. 2. Some nose plugins (including xunit which will be added in a future commit) assign stdout to a stream object that does not have a .fileno attribute. spack.util.executable.Executable now avoids passing stdout to subprocess (and always uses subprocess.PIPE) TODO: 1. Still need to figure out how to activate the plugin (as of now it is being ignored by nose). Newer versions of nose appear to make this simpler (e.g. the "addplugins" argument to nose.run) 2. Need to include new version of nose in order to use xunit
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions