Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MPSD Computational Science
mpsd-software-manager
Merge requests
!82
Remove cmd
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove cmd
continue-with-remove-cmd
into
main
Overview
21
Commits
34
Pipelines
18
Changes
3
Merged
Ashwin Kumar Karnad
requested to merge
continue-with-remove-cmd
into
main
1 year ago
Overview
4
Commits
34
Pipelines
18
Changes
1
Expand
0
0
Merge request reports
Compare
version 17
version 17
84bb63d7
1 year ago
version 16
58aaf20b
1 year ago
version 15
5488b012
1 year ago
version 14
14d157c9
1 year ago
version 13
091e3853
1 year ago
version 12
95820236
1 year ago
version 11
56343803
1 year ago
version 10
6013d566
1 year ago
version 9
019c7cf1
1 year ago
version 8
247743d1
1 year ago
version 7
62d27b56
1 year ago
version 6
dab2d516
1 year ago
version 5
f798d117
1 year ago
version 4
120c3429
1 year ago
version 3
834b21e6
1 year ago
version 2
1eb99e7b
1 year ago
version 1
cb319aa9
1 year ago
main (base)
and
latest version
latest version
23c82bca
34 commits,
1 year ago
version 17
84bb63d7
33 commits,
1 year ago
version 16
58aaf20b
32 commits,
1 year ago
version 15
5488b012
29 commits,
1 year ago
version 14
14d157c9
28 commits,
1 year ago
version 13
091e3853
27 commits,
1 year ago
version 12
95820236
26 commits,
1 year ago
version 11
56343803
22 commits,
1 year ago
version 10
6013d566
17 commits,
1 year ago
version 9
019c7cf1
17 commits,
1 year ago
version 8
247743d1
14 commits,
1 year ago
version 7
62d27b56
13 commits,
1 year ago
version 6
dab2d516
11 commits,
1 year ago
version 5
f798d117
10 commits,
1 year ago
version 4
120c3429
9 commits,
1 year ago
version 3
834b21e6
6 commits,
1 year ago
version 2
1eb99e7b
3 commits,
1 year ago
version 1
cb319aa9
3 commits,
1 year ago
Show latest version
1 file
+
7
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/test_mpsd_software.py
+
7
−
7
Options
@@ -759,9 +759,9 @@ def test_remove_package_sets(tmp_path, simple_toolchain):
release_dir
=
tmp_path
/
release_to_test
/
mod
.
get_native_microarchitecture
()
assert
len
(
list
(
release_dir
.
iterdir
()))
==
2
# spack and lmod
# check that the two toolchains are installed
assert
(
len
(
list
((
release_dir
/
"
spack
"
/
"
var
"
/
"
spack
"
/
"
environments
"
)
.
iterdir
()
))
==
2
environments_dir
=
release_dir
/
"
spack
"
/
"
var
"
/
"
spack
"
/
"
environments
"
set
([
environment
.
name
for
environment
in
environments
_dir
.
iterdir
()
])
==
set
(
[
"
toolchain1
"
,
"
toolchain2
"
]
)
# check that the two toolchains have the "handmade" module files
toolchains_list
=
list
(
mod
.
environment_status
(
release_to_test
,
tmp_path
).
values
())[
@@ -781,11 +781,11 @@ def test_remove_package_sets(tmp_path, simple_toolchain):
package_sets
=
[
"
toolchain2
"
],
force_remove
=
True
,
)
# now check that only toolchain1 is installed
assert
(
len
(
list
((
release_dir
/
"
spack
"
/
"
var
"
/
"
spack
"
/
"
environments
"
).
iterdir
()))
==
1
# now check that only "toolchain1" is installed in environments_dir
assert
set
([
environment
.
name
for
environment
in
environments_dir
.
iterdir
()])
==
set
(
[
"
toolchain1
"
]
)
# check that the only one toolchains has the "handmade" module files
toolchains_list
=
list
(
mod
.
environment_status
(
release_to_test
,
tmp_path
).
values
())[
0
Loading