Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DP3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ResearchAndDevelopment
DP3
Merge requests
!894
AST-1184
Check if error string contains the exception
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
AST-1184
Check if error string contains the exception
ast-1184-fix-checking-exception-string
into
master
Overview
0
Commits
1
Pipelines
3
Changes
1
Merged
Maik Nijhuis
requested to merge
ast-1184-fix-checking-exception-string
into
master
1 year ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Expand
Also use the full exception string in the check.
0
0
Merge request reports
Compare
master
version 1
7d7dfb57
1 year ago
master (base)
and
latest version
latest version
503e3349
1 commit,
1 year ago
version 1
7d7dfb57
1 commit,
1 year ago
1 file
+
8
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ddecal/test/integration/tDDECal.py
+
8
−
4
Options
@@ -708,14 +708,18 @@ def test_dd_solution_intervals(solutions_per_direction):
stderr
=
STDOUT
,
)
except
CalledProcessError
as
e
:
# AST-1184: The output may contain other warnings, e.g., libgcov version
# mismatch errors. Therefore check if the output contains the exception.
if
solutions_per_direction
==
[
5
,
5
,
5
]:
if
not
e
.
output
.
decode
().
startswith
(
"
\n
std exception detected: Values in ddecal
"
if
(
not
"
\n
std exception detected: Values in ddecal.solutions_per_direction should be integer divisors of solint
\n
"
in
e
.
output
.
decode
()
):
raise
e
elif
solutions_per_direction
==
[
2
,
0
]:
if
not
e
.
output
.
decode
().
startswith
(
"
\n
std exception detected: All entries in ddecal
"
if
(
not
"
\n
std exception detected: All entries in ddecal.solutions_per_direction should be > 0.
\n
"
in
e
.
output
.
decode
()
):
raise
e
else
:
Loading