Gregory Becker
a5c534b86d
update bash completion
2020-09-23 12:42:46 -07:00
Gregory Becker
99364b9c3f
refactor
2020-09-23 12:42:43 -07:00
Gregory Becker
749ab2e79d
Make Spack tests record their errors and continue
...
previously, tests would fail on the first error
now, we wrap them in a TestFailure object that records all failures
2020-09-23 12:42:40 -07:00
Greg Becker
1b3e1897ca
Features/spack test subcommands ( #16054 )
...
* spack test: subcommands for asynchronous tests
* commands are `run`, `list`, `status`, `results`, `remove`.
2020-09-23 12:42:36 -07:00
Tamara Dahlgren
3976b2a083
tests: Preliminary libsigsegv smoke tests (updated) ( #15981 )
...
* tests: Preliminary libsigsegv smoke tests (updated)
* Cleaned up and added doc to libsigsegv smoke test
2020-09-23 12:42:33 -07:00
Tamara Dahlgren
54603cb91f
tests: Update openmpi smoke tests to new run_test api ( #15982 )
...
* tests: Update openmpi smoke tests to new run_test api
* Removed version check try-except tracking per discussion
* Changed openmpi orted command status values to list
2020-09-23 12:42:29 -07:00
Tamara Dahlgren
aa630b8d71
install tests: added support for multiple test command status values ( #15979 )
...
* install tests: added support for multiple test command status values
2020-09-23 12:42:25 -07:00
Gregory Becker
77acf8ddc2
spack unit-test: fix pytest help command
2020-09-23 12:42:22 -07:00
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