Gregory Becker
dfb02e6d45
test runner: add options to check installation dir and print purpose
2020-09-23 12:42:18 -07:00
Gregory Becker
cf4a0cbc01
python: use self.command to get exe name in test
2020-09-23 12:42:16 -07:00
Gregory Becker
b0eb02a86f
cmd/test.py: fix typo in spdx license header
2020-09-23 12:42:14 -07:00
Gregory Becker
73f76bc1b5
update bash completions
2020-09-23 12:42:12 -07:00
Gregory Becker
6f39d8011e
spack test: factor out common args
2020-09-23 12:42:10 -07:00
Gregory Becker
97dc74c727
python: fix tests, remove intentional debug failures
2020-09-23 12:42:08 -07:00
Gregory Becker
d53eefa69f
fix docs
2020-09-23 12:42:05 -07:00
Gregory Becker
bae57f2ae8
spack test: update existing docs for moved unit-test cmd
2020-09-23 12:41:23 -07:00
Gregory Becker
ba58ae9118
simplify error handling using language features
2020-09-23 12:36:23 -07:00
Gregory Becker
fdb8a59bae
fix get_package_context check whether in a package file
2020-09-23 12:36:22 -07:00
Gregory Becker
d92f52ae02
fix handling of asserts for python3
2020-09-23 12:36:22 -07:00
Gregory Becker
3229bf04f5
fix 'belt and suspenders' for config values
2020-09-23 12:36:21 -07:00
Gregory Becker
ccf519daa5
update travis
2020-09-23 12:36:20 -07:00
Gregory Becker
c5ae92bf3f
flake
2020-09-23 12:36:19 -07:00
Gregory Becker
f83280cb58
standardize names for configure_test, build_test, install_test
2020-09-23 12:36:18 -07:00
Gregory Becker
6e80de652c
unbreak zlib
2020-09-23 12:36:17 -07:00
Gregory Becker
0dc212e67d
tests and bugfixes
2020-09-23 12:36:16 -07:00
Gregory Becker
3ce2efe32a
update bash completions
2020-09-23 12:36:14 -07:00
Gregory Becker
76ce5d90ec
fixup unit-test from develop
2020-09-23 12:36:14 -07:00
Gregory Becker
e5a9a376bf
fix cmd/clean tests
2020-09-23 12:36:13 -07:00
Gregory Becker
d6a497540d
fixup reporter work
2020-09-23 12:36:12 -07:00
Gregory Becker
b996d65a96
bugfix
2020-09-23 12:36:11 -07:00
Gregory Becker
991a2aae37
test name message
2020-09-23 12:36:10 -07:00
Tamara Dahlgren
8ba45e358b
Initial OpenMPI smoke tests: version checks
2020-09-23 12:36:09 -07:00
Gregory Becker
28e76be185
spack clean: option to clean test stage (-t)
2020-09-23 12:36:09 -07:00
Gregory Becker
70e91cc1e0
spack test: add dirty/clean flags to command
2020-09-23 12:36:08 -07:00
Gregory Becker
b52113aca9
move test dir to config option
2020-09-23 12:36:07 -07:00
Gregory Becker
ce06e24a2e
refactor run_test to Package level
2020-09-23 12:36:06 -07:00
Gregory Becker
dd0fbe670c
continue testing after error
2020-09-23 12:36:05 -07:00
Tamara Dahlgren
6ad70b5f5d
Preliminary libxml2 tests ( #15092 )
...
* Initial libxml2 tests (using executables)
* Expanded libxml2 tests using installed bins
* Refactored/generalized _run_tests
2020-09-23 12:36:04 -07:00
wspear
dadf4d1ed9
Fixed import string ( #15094 )
2020-09-23 12:36:03 -07:00
Gregory Becker
64bac977f1
add spack test-env command, refactor to combine with build-env
2020-09-23 12:36:02 -07:00
Gregory Becker
2f1d26fa87
allow tests to require compiler
2020-09-23 12:36:02 -07:00
Gregory Becker
cf713c5320
Modify existing test methods to naming scheme <phase_name>test
...
Existing test methods run via callbacks at install time when run with `spack install --run-tests`
These methods are tied into the package build system, and cannot be run arbitrarily
New naming scheme for these tests based on the build system phase after which they should be run
The method name `test` is now reserved for methods run via the `spack test` command
2020-09-23 12:36:01 -07:00
Tamara Dahlgren
035e7b3743
tests: Added preliminary smoke test for perl ( #14592 )
...
* Added install test for perl, including use statements
2020-09-23 12:35:59 -07:00
Tamara Dahlgren
473457f2ba
tests: Preliminary m4 smoke tests ( #14553 )
...
* Preliminary m4 smoke tests
2020-09-23 12:35:59 -07:00
Tamara Dahlgren
490bca73d1
Change variable name to 'standard' file to avoid confusion with function ( #14589 )
2020-09-23 12:35:58 -07:00
Tamara Dahlgren
59e885bd4f
tests: Preliminary patchelf smoke tests ( #14551 )
...
* Initial patchelf smoke tests
2020-09-23 12:35:57 -07:00
Gregory Becker
966fc427a9
copy test data into './data' in test environment
2020-09-23 12:35:56 -07:00
Gregory Becker
8a34511789
improved error printing
2020-09-23 12:35:55 -07:00
Gregory Becker
8f255f9e6a
fix reporter call for install command
2020-09-23 12:35:54 -07:00
Gregory Becker
4d282ad4d9
Changes in cmd/test.py in develop mirrored to cmd/unit-test.py
2020-09-23 12:35:53 -07:00
Gregory Becker
7216451ba7
tests occur in temporary directory, can be kept for debugging
2020-09-23 12:35:52 -07:00
Gregory Becker
e614cdf007
improve error catching/handling/re-raising
2020-09-23 12:35:51 -07:00
Gregory Becker
bc486a961c
make test fail
2020-09-23 12:35:50 -07:00
Gregory Becker
a13eab94ce
improve logging and add junit basics
2020-09-23 12:35:49 -07:00
Gregory Becker
6574c6779b
python3 syntax for re-raising an error with the old traceback
2020-09-23 12:35:48 -07:00
Gregory Becker
d2cfbf177d
make cdash test reporter work for testing
2020-09-23 12:35:46 -07:00
Gregory Becker
bfb97e4d57
add reporting format options to spack test
2020-09-23 12:35:14 -07:00
Gregory Becker
4151224ef2
WIP infrastructure for Spack test command to test existing installations
2020-09-23 12:22:26 -07:00