Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
a552dbfd
Commit
a552dbfd
authored
11 months ago
by
Thibault Martin
Browse files
Options
Downloads
Patches
Plain Diff
[tests] Move cover-related option to PrepareTests
parent
4f77c1ff
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/test.sh
+2
-3
2 additions, 3 deletions
bin/test.sh
with
2 additions
and
3 deletions
bin/test.sh
+
2
−
3
View file @
a552dbfd
...
@@ -315,6 +315,8 @@ function PrepareCoverage
...
@@ -315,6 +315,8 @@ function PrepareCoverage
Cmd
rm
-rf
_bisect
Cmd
rm
-rf
_bisect
Cmd
mkdir
_coverage
Cmd
mkdir
_coverage
Cmd
mkdir
_bisect
Cmd
mkdir
_bisect
DUNE_OPT+
=
"--workspace dev/dune-workspace.cover "
fi
fi
}
}
...
@@ -371,9 +373,6 @@ function PrepareTests
...
@@ -371,9 +373,6 @@ function PrepareTests
[
"
$DUNE_LOG
"
=
""
]
||
rm
-rf
$DUNE_LOG
[
"
$DUNE_LOG
"
=
""
]
||
rm
-rf
$DUNE_LOG
function
RunAlias
function
RunAlias
{
{
if
[
"
$COVER
"
=
"yes"
]
;
then
DUNE_OPT+
=
"--workspace dev/dune-workspace.cover "
fi
Head
"Running tests..."
Head
"Running tests..."
if
[
"
$DUNE_LOG
"
=
""
]
;
then
if
[
"
$DUNE_LOG
"
=
""
]
;
then
Run dune build
$DUNE_OPT
$@
Run dune build
$DUNE_OPT
$@
...
...
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