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
Commits
8a7371af
Commit
8a7371af
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
skip bad tests
parent
1bb7595c
No related branches found
No related tags found
2 merge requests
!37
Update log names and variable names
,
!29
Restructure log location
Pipeline
#370220
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests.py
+6
-2
6 additions, 2 deletions
tests.py
with
6 additions
and
2 deletions
tests.py
+
6
−
2
View file @
8a7371af
...
...
@@ -164,7 +164,7 @@ def test_setup_log_cmd(tmp_path):
Check that logs/install-software-environment.log is updated when the module is run
"""
cmd_log_file
=
mod
.
config_vars
[
'
cmd_log_file
'
]
cmd_log_file
=
mod
.
config_vars
[
"
cmd_log_file
"
]
script_dir
=
tmp_path
/
"
test_prepare_env
"
mpsd_release_to_test
=
"
dev-23a
"
...
...
@@ -227,7 +227,7 @@ def test_install_environment_zlib():
script_dir
.
mkdir
(
exist_ok
=
True
,
parents
=
True
)
mpsd_release_to_test
=
"
dev-23a
"
toolchain_to_test
=
"
global_generic
"
cmd_log_file
=
mod
.
config_vars
[
'
cmd_log_file
'
]
cmd_log_file
=
mod
.
config_vars
[
"
cmd_log_file
"
]
mpsd_microarch
=
mod
.
get_native_microarchitecture
()
release_base_dir
=
script_dir
/
mpsd_release_to_test
create_mock_git_repository
(
target_directory
=
script_dir
,
create_directory
=
False
)
...
...
@@ -383,8 +383,12 @@ def test_metadata_logging(tmp_path):
assert
len
(
read_dict
)
==
len
(
keys
)
@pytest.mark.skip
(
reason
=
"
This function is redundant in the next version of the script.
"
)
def
test_create_log_file_names
():
"""
Test that the log file names are created correctly.
"""
pass
create_log_file_names
=
mod
.
create_log_file_names
mpsd_release
=
"
dev-23a
"
mpsd_microarch
=
"
sandybridge
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment