Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tiamo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Maximilien COLANGE
tiamo
Commits
0a58952a
Commit
0a58952a
authored
Mar 31, 2016
by
Maximilien Colange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests report more data to teamcity.
parent
ffa4209e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
run_test.pl
run_test.pl
+21
-0
No files found.
run_test.pl
View file @
0a58952a
...
...
@@ -37,6 +37,27 @@ while (my $line = shift(@results)) {
if
(
$line
=~
s/Result of verification is //
)
{
$tested
=
$line
;
}
# report some stats to teamcity
if
(
$line
=~
s/^discrete states://
)
{
my
@splitline
=
split
('
',
$line
);
print
"
##teamcity[buildStatisticValue key='discrete states' value='
$splitline
[0]']
\n
";
}
if
(
$line
=~
s/^states seen://
)
{
my
@splitline
=
split
('
',
$line
);
print
"
##teamcity[buildStatisticValue key='states seen' value='
$splitline
[0]']
\n
";
}
if
(
$line
=~
s/^states explored://
)
{
my
@splitline
=
split
('
',
$line
);
print
"
##teamcity[buildStatisticValue key='states explored' value='
$splitline
[0]']
\n
";
}
if
(
$line
=~
s/^incl tests://
)
{
my
@splitline
=
split
('
',
$line
);
print
"
##teamcity[buildStatisticValue key='inclusion tests' value='
$splitline
[0]']
\n
";
}
if
(
$line
=~
s/^pos\. incl tests://
)
{
my
@splitline
=
split
('
',
$line
);
print
"
##teamcity[buildStatisticValue key='successful inclusion tests' value='
$splitline
[0]']
\n
";
}
}
# retrieve the exit value of the test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment