Output test log path (optionally contents) post-install, include post-install times#35315
Output test log path (optionally contents) post-install, include post-install times#35315tldahlgren wants to merge 6 commits intospack:developfrom
Conversation
9d8c09d to
635a673
Compare
0970708 to
6671331
Compare
e28fcec to
7e83d46
Compare
|
@adamjstewart @alalazo Resolved conflicts. The patch coverage is reported at 100% and project coverage up +.13%. Also re-confirmed the example output shown in the description. |
adamjstewart
left a comment
There was a problem hiding this comment.
Tested with py-six and works as expected! A few comments related to the output and when/where we print it. Also, the build output uses green for the ==>, but the test output uses no color. Probably simple to fix.
- added typing for _print_install_test_log arg(s); - added timing of post-install (to capture testing timing data); - changed to output test log path only on failures; and - colorized test log markers green. Also: - Added "Completed testing" log message for post-install tests; and - colorized test log messages.
550f56e to
c10eecb
Compare
|
This is looking much better now. A few final things I noticed:
|
|
With the latest commit, |
Can you try |
|
Still didn't display the tests even with: $ spack -v install -v --test=root py-six |
|
Closing this PR since the changes originated in #34236, which has refactoring that causes redundant work iterating on this and the other PR. |
(UPDATED) This PR provides more post-install test information:
-voption is passed tospack install; andFor example, with
-v --test=rootfor a package with a (fake) test failure:While running tests without
-vfor the same package results in:Note: