Commit graph

14099 commits

Author SHA1 Message Date
Peter Scheibel
d50a18d9eb XML output for unit tests is now enabled with an option (disabled by default) 2015-11-25 17:10:45 -08:00
Tom Scogland
f8ffb005c8 make cram an extension of python 2015-11-25 15:10:18 -08:00
Peter Scheibel
60f7756626 Executable.__call__ original semantics were to avoid redirecting process output
to the output stream if return_output was set. This branch undid that and this
commit restores those semantics.
2015-11-25 12:28:43 -08:00
Tom Scogland
3ce99cf4e1 fix for the shell arg handling issues
The setup-env.sh script now saves off the argument array before shifting off
all the arguments so that the final command invocation doesn't arbitrarily
requote the arguments.  All external quoting is preserved now.  This has been
thoroughly tested with zsh, but should probably be tested with bash etc.
before acceptance.
2015-11-25 11:02:51 -08:00
Todd Gamblin
04f032d6e3 Rename spack.db -> spack.repo
Making distinction between install database and package repositories clearer.
2015-11-25 10:01:44 -08:00
Todd Gamblin
e6d232bfef Rename packages.py to repository.py, PackageFinder to RepoPath. 2015-11-25 09:58:10 -08:00
Peter Scheibel
18dea24df8 Use the xunit nose plugin to generate JUnit XML test results from Spack's unit
tests.
2015-11-24 19:08:37 -08:00
Peter Scheibel
0adf93853d Update log_output to handle cases where sys.stdout/stderr streams do not have
an associated file descriptor (e.g. holds for nose tests where sys.stdout is
assigned to a StringIO object)
2015-11-24 17:58:17 -08:00
Todd Gamblin
c526c71f56 Merge pull request #201 from alfredo-gimenez/develop
Fixed Mitos dependency and added new version
2015-11-24 16:12:12 -08:00
Alfredo Gimenez
a0d388875e Fixed Mitos dependency and added new version 2015-11-24 15:12:31 -08:00
Peter Scheibel
5081ba6802 It appears the same test object was returned multiple times for different
unit tests, so tracking tests with sets wouldn't work unless I extracted the
details relevant to the particular test. For now a simple count will work so
using a set was unnecessary anyways.
2015-11-24 10:45:07 -08:00
Peter Scheibel
70049185a5 Activation of Tally plugin to count tests. It doesn't appear to be actually
counting the individual unit tests correctly so I need to chase that down.
2015-11-24 10:39:42 -08:00
Tom Scogland
a1553dd12b adding google sparsehash and cityhash libraries 2015-11-24 09:23:36 -08:00
Todd Gamblin
e2412e3f21 Merge branch 'eschnett-openblas' into develop 2015-11-24 00:52:48 -08:00
Todd Gamblin
58d497ab7a Merge pull request #200 from scalability-llnl/revert-189-openssl-use-64-bits
Revert "WIP: openssl: set KERNEL_BITS to make ./config work"
2015-11-24 00:30:37 -08:00
Todd Gamblin
52cce2d710 Revert "WIP: openssl: set KERNEL_BITS to make ./config work" 2015-11-24 00:30:08 -08:00
Peter Scheibel
099fa1df34 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
2015-11-23 18:59:48 -08:00
Todd Gamblin
cf3d236b9f Merge branch 'scheibelp-features/externaldeps' into develop 2015-11-23 17:50:49 -08:00
Todd Gamblin
894fcd90e7 Add a fix/warning so that stale .pyc files don't kill Spack.
- Can't think of a better way to do this.
- The externals integration will cause spack to die in weird ways for
  users who just pull from develop.
2015-11-23 17:49:39 -08:00
Erik Schnetter
1d90d98e40 Remove commented-out code 2015-11-23 20:32:06 -05:00
Todd Gamblin
bddab5e489 Merge pull request #199 from khuck/develop
cleaning up commits for merge request
2015-11-23 16:53:53 -08:00
Kevin Huck
4dd47fbc78 cleaning up commits for merge request 2015-11-23 16:16:52 -08:00
Todd Gamblin
98ccad8105 Merge pull request #189 from mathstuf/openssl-use-64-bits
WIP: openssl: set KERNEL_BITS to make ./config work
2015-11-23 16:09:28 -08:00
Todd Gamblin
de2213a621 Merge pull request #188 from mathstuf/python-osx
python: target OS X 10.6
2015-11-23 16:08:56 -08:00
Todd Gamblin
583b8e3ade Merge pull request #187 from mathstuf/dbus-osx-disable-launchd
dbus: disable launchd support
2015-11-23 16:08:35 -08:00
Todd Gamblin
b5fffc71c9 Merge pull request #168 from mathstuf/libxml2-drop-python-dep
Libxml2 drop python dep
2015-11-23 16:08:24 -08:00
Todd Gamblin
0011903e23 Merge pull request #165 from mathstuf/paraview-update-deps
Paraview update deps
2015-11-23 16:04:03 -08:00
Todd Gamblin
9bc27561ec Merge pull request #164 from mathstuf/matplotlib-optional-deps
Matplotlib optional deps
2015-11-23 16:03:31 -08:00
Todd Gamblin
76100a6f08 Merge pull request #158 from davidbeckingsale/features/cleverleaf
Add CleverLeaf package
2015-11-23 16:00:39 -08:00
David Beckingsale
38b83362b6 Updated url and description 2015-11-23 15:58:33 -08:00
Todd Gamblin
c13329c25a Merge pull request #155 from epfl-scitas/packages/mvapich2
packages/mvapich2 : added support for process managers and network types
2015-11-23 15:53:53 -08:00
Todd Gamblin
6798c177c6 Merge pull request #157 from alfredo-gimenez/develop
Added Python Twisted library
2015-11-23 15:51:57 -08:00
Todd Gamblin
1447fd0a12 Merge pull request #160 from SteVwonder/stevwonder/develop
Fixed -l flag for 'spack extensions'
2015-11-23 15:50:18 -08:00
Todd Gamblin
8fbd79fa2e Merge pull request #198 from eschnett/update-papi
Update PAPI
2015-11-23 15:42:09 -08:00
Todd Gamblin
9d4638ef4c Merge pull request #196 from eschnett/hypre
Don't use https for downloading
2015-11-23 15:39:08 -08:00
Mario Melara
8f56f5cfcc Added path to netcdf and hdf5 using the env vars NETCDF_DIR and HDF5_DIR. 2015-11-23 14:02:59 -08:00
Erik Schnetter
60fd7e2268 Update PAPI 2015-11-23 16:50:11 -05:00
Erik Schnetter
cb21a5b309 Add OpenBLAS 2015-11-23 16:48:06 -05:00
Erik Schnetter
1330c10fc8 Don't use https for downloading 2015-11-23 16:00:10 -05:00
Todd Gamblin
be92d0b6a4 Merge pull request #194 from trws/judy
add judy dynamic array/meta-trie/hash table lib
2015-11-23 10:10:46 -08:00
Todd Gamblin
df4e79c06c Merge pull request #192 from trws/clean-dist
modified warning to reference spack clean
2015-11-23 10:10:27 -08:00
Todd Gamblin
7392e1af59 Merge pull request #190 from bhatele/feature/networktools
Add damselfly package
2015-11-23 10:10:12 -08:00
Todd Gamblin
8c06b92225 Working PackageFinder / Repo 2015-11-22 20:28:59 -08:00
Tom Scogland
34700d560f add judy dynamic array/meta-trie/hash table lib
Just adding judy.
2015-11-20 12:15:32 -08:00
Tom Scogland
5e93dd6592 modified warning to reference spack clean
clean --dist has been removed, command fixed to something that works.
2015-11-20 11:49:46 -08:00
Abhinav Bhatele
4edcc59c3d Add damselfly package 2015-11-19 23:05:21 -08:00
Ben Boeckel
c023b1000e python: target OS X 10.6
Targeting anything older lacks rpath stuff which configure uses.
2015-11-19 17:52:59 -05:00
Ben Boeckel
150e43f3fd WIP: openssl: set KERNEL_BITS to make ./config work
Why OpenSSL refuses to build without this (it explicitly warns about it)
is a mystery.
2015-11-19 17:51:44 -05:00
Ben Boeckel
b6d368d7a0 dbus: disable launchd support 2015-11-19 17:50:30 -05:00
Todd Gamblin
34e445a480 Merge pull request #176 from truatpasteurdotfr/develop
jdk: updated to version 8u66
2015-11-18 15:58:33 -06:00