-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix spack load --list and spack unload on windows #35720
base: develop
Are you sure you want to change the base?
Conversation
@johnwparent Please review |
fb2e5bd
to
e9409c4
Compare
@scheibelp Please review |
A couple general requests:
|
|
test/cmd/load.py is the one I see (there is a module level disabling of tests for Windows).
Good: thanks! |
e2f34ad
to
08e5232
Compare
62928cd
to
e854ca3
Compare
@scheibelp I enabled/updated the tests in load.py and a two tests in find.py and now they run successfully on windows. Please review. |
de60cfa
to
9d9a642
Compare
@johnwparent I rebased this PR over devel and the load.py tests still pass on my machine. |
Thanks for the upkeep Dan! Changes in general still look good to me, so pending CI passing, this is ready for another round of review. |
@scheibelp This branch is also ready. |
ed819ec
to
acfd8ea
Compare
@scheibelp ping. This passes all tests |
acfd8ea
to
2698d76
Compare
34add57
to
03971d9
Compare
794f00e
to
e4bd0b9
Compare
@scheibelp Please review. Thanks! |
e4bd0b9
to
dffe8ac
Compare
285b7b9
to
484da44
Compare
6d4c34e
to
d371fea
Compare
@johnwparent @scheibelp Please review. I rebased this PR on develop - all the tests in load.py pass on windows now. |
d371fea
to
ad43163
Compare
goto :default_case | ||
) | ||
if NOT defined _sp_args ( | ||
python "%spack%" "%_sp_subcommand%" --help |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the behavior I observe on linux when spack load
is invoked with no arguments. There, the command seems to exit silently without invoking the help. Seems like these should be the same (and IMO this approach is better)
@scheibelp thoughts?
fixes for:
spack load --list (this printed 0 packages even if packages were loaded)
spack unload 'package' (this said that the package is not loaded even if it was).
spack external find -p "c:\Program Files\CMake-3.24.2" cmake (this gave an error caused by multiple quotes inside a string used for comparison)