summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-23The HTML number conversion regex operating against a byte string will onlyPeter Scheibel1-1/+2
convert individual bytes, so therefore incorrectly converts utf-8 encoded characters. Decoding byte strings to unicode objects results in correct HTML number encodings.
2015-10-231. Rename CommandError -> InstallErrorPeter Scheibel2-5/+7
2. InstallError now subclasses SpackError vs. StandardError (so it is now handled by the spack shell script)
2015-10-221. Added CommandError exception to build_environmentPeter Scheibel2-15/+28
2. The parent of a failed child process in build_environment.fork no longer calls sys.exit - instead it raises a CommandError (from [1]) 3. test-install command now attempts to install all packages even if one fails
2015-10-22Generate test results (designated as skipped) for parents of failed dependenciesPeter Scheibel2-24/+45
2015-10-15Created unit test for core logic in test-install command.Peter Scheibel3-12/+145
2015-10-15Better description for test-install commandPeter Scheibel1-1/+1
2015-10-15Minor edit for clarity (generate output for single top level spec vs. iteratingPeter Scheibel1-2/+1
through collection of size 1)
2015-10-15Originally I enforced specifying 1 top-level package with the test-installPeter Scheibel1-5/+4
command by having it consume exactly 1 positional argument (i.e. by removing "nargs=argparse.REMAINDER") but this does not work when configuring dependencies of a top-level package (which show up as additional positional args). Instead now there is an explicit check to ensure there is only 1 top-level package.
2015-10-151. Specifying the output file path for test-install is now an option (vs. anPeter Scheibel2-12/+22
argument). The default path is [package id].xml in the CWD where test-install is called from. 2. Fixed a bug with package.build_log_path (which was added in this branch). 3. keep_stage for package.do_install is now set. This allows uninstalling and reinstalling packages without (re) downloading them.
2015-10-15Move logic for tracking the build log into package.py (since that is what isPeter Scheibel2-9/+10
managing the build log) and expose as package.build_log_path.
2015-10-15Update test failure output: don't include the entire build log, just lines whichPeter Scheibel1-5/+10
mention errors (or if no such lines can be found, output the last 10 lines from the log).
2015-10-15Use spec.traverse vs. recursive function.Peter Scheibel1-20/+16
Also even though I calculated which installs are new (e.g. vs. packages that have already been installed by a previous command) I forgot to make use of that in create_test_output (so I was always generating test output even if a package had been installed before running the test-install command). Note to avoid confusion: the 'handled' variable (removed in this commit) did not serve the same purpose as 'newInstalls': it was originally required because the recursive approach would visit the same dependency twice if more than one package depended on it.
2015-10-15Always run with verbose output (so eliminate it as an option). Also remove otherPeter Scheibel1-22/+1
commented options.
2015-10-15Changing name of file requires changing function name to be invoked as a commandPeter Scheibel1-1/+1
2015-10-15Change name of file to conform to conventions.Peter Scheibel1-0/+0
2015-10-15Edit function names to conform to naming conventions.Peter Scheibel1-7/+7
2015-10-15Only install 1 top-level package with testinstall. Otherwise if multiplePeter Scheibel1-10/+6
packages are specified and a prior one fails, it will prevent any of the others from succeeding (and generating test output) even if they don't share dependencies.
2015-10-13Make sure to generate output for dependencies as if they were separate tests:Peter Scheibel1-20/+51
the original intent was to generate output as if each package was a unit test, but I noticed that I was only generating test output for top-level packages.
2015-10-13Add spec YAML format to test output.Peter Scheibel1-8/+11
2015-10-12Don't create test output for any package that was already installed.Peter Scheibel1-11/+11
2015-10-121. Added Junit XML formatPeter Scheibel1-16/+34
2. Specify output to a file vs. a directory 3. Use [1] and [2] to write an XML file tracking success of package installs in Junit XML format
2015-10-12Adding command testinstall. See "spack testinstall -h" for documentation.Peter Scheibel1-0/+129
Still need to add output formatting (in a commonly parse-able format like Junit or TAP). May want to adjust how the build log is accessed in case of a build failure.
2015-10-08update warning message for spack -k.Todd Gamblin1-1/+1
- warning said it didn't do checksums; really does.
2015-10-08Merge branch 'features/libxcb-1.11.1' into developTodd Gamblin1-1/+1
2015-10-05added libxcb version 1.11.1Gregory L. Lee1-1/+1
2015-09-29Merge pull request #118 from scalability-llnl/features/scrTodd Gamblin1-2/+4
update scr to 1.1.8
2015-09-29update scr to 1.1.8Adam Moody1-2/+4
2015-09-27Merge pull request #116 from mamelara/developTodd Gamblin4-0/+78
Added samtools bioinformatics software
2015-09-27Remove enabled variants from install prefix.Todd Gamblin1-6/+1
- these make the prefix too long in many cases. - users can figure out which install is which by querying.
2015-09-27Remove special characters (@, %, +, ~, etc) from stage nameTodd Gamblin1-2/+9
2015-09-24Adding bowtie2 package along with patchMario Melara2-0/+40
2015-09-23Added samtools bioinformatics softwareMario Melara2-0/+38
2015-09-23Merge pull request #102 from RasmusWL/features/fishTodd Gamblin1-0/+18
Add fish (shell) package
2015-09-23Merge pull request #106 from justintoo/add-package-doxygenTodd Gamblin1-0/+25
(Package) Add Doxygen (v1.8.10)
2015-09-23Merge pull request #110 from scalability-llnl/features/boostupdateTodd Gamblin1-0/+4
update boost package for new releases
2015-09-23Merge pull request #111 from scalability-llnl/features/protobufTodd Gamblin1-0/+16
add protobuf package
2015-09-23Merge pull request #112 from scalability-llnl/features/glogTodd Gamblin1-0/+15
add glog package
2015-09-23Merge pull request #113 from scalability-llnl/features/gflagsTodd Gamblin1-0/+21
add gflags package
2015-09-23Merge pull request #114 from scalability-llnl/features/snappyTodd Gamblin2-0/+44
Features/snappy
2015-09-23Merge pull request #115 from scalability-llnl/features/lmdbTodd Gamblin1-0/+39
add lmdb package
2015-09-22add lmdb packageAdam Moody1-0/+39
2015-09-22add leveldb packageAdam Moody1-0/+29
2015-09-21add snappy packageAdam Moody1-0/+15
2015-09-21add gflags packageAdam Moody1-0/+21
2015-09-21add glog packageAdam Moody1-0/+15
2015-09-21add protobuf packageAdam Moody1-0/+16
2015-09-11(Package) Add Doxygen (v1.8.10)Justin Too1-0/+25
2015-09-03Add fish (shell) packageRasmus Wriedt Larsen1-0/+18
2015-09-01update boostAdam Moody1-0/+4
2015-08-27Fix for GitHub #95Todd Gamblin1-3/+21
develop: compiler clang@unknown created for /usr/bin/clang-format https://github.com/scalability-llnl/spack/issues/95