Comments (3)
following patch was applied to the TAP::Harness::Junit
module (which was installed using cpan, and is local to jenkins) to force the reported time output to 3 digits after comma, to make the junit_output.xml
"valid" again.
TAP::Harness::Junit
hasn't seen any development in years, so i think this patch is safe; and i also assume we can't upstream the patch as it way too specific (and feels like it works around some xunit issue about xunit being way to restricted)
--- perl/lib/perl5/TAP/Harness/JUnit.pm.orig 2018-07-20 12:47:24.055481018 +0200
+++ perl/lib/perl5/TAP/Harness/JUnit.pm 2018-07-20 12:49:41.135478156 +0200
@@ -199,6 +199,7 @@
my $time = $parser->end_time - $parser->start_time;
$time = 0 if $self->{__notimes};
+ $time = sprintf("%.3f", $time);
# Get the return code of test script before re-parsing the TAP output
my $badretval = $parser->exit;
@@ -243,6 +244,7 @@
my $time = $result->{__end_time} - $result->{__start_time};
$time = 0 if $self->{__notimes};
+ $time = sprintf("%.3f", $time);
# Counters
if ($result->type eq 'plan') {
from maven-tools.
@jrha @jouvin @ned21 tests shouldn't be failing anymore (but you might need to rerun them)
from maven-tools.
@stdweird thanks for digging into this and sorting it out
from maven-tools.
Related Issues (20)
- build-scripts requires a Perl-Critic version not available on SL6 HOT 8
- mavenprove fails to test CAF
- tracing guideline
- tests try to generate tabcompletion
- Mocked CAF::FileWriter attempts to create directories HOT 10
- /Test/Quattor/Panc.pm: annotation regexp is incorrect HOT 1
- Test::Quattor: mock the new symlink-related methods
- random pan annotation failures HOT 5
- use diagnostics HOT 3
- Update cfg-module used to create a new component skeleton
- _make_link: allow keeps_state HOT 1
- Build fails while trying to generate docs using Java 1.8 HOT 8
- Reinstate `warn_is_ok = 0` / remove `set_caf_file_close_diff`
- Allow testing of immutable files
- Test::Quattor: review status usage
- make a maven template for scripts
- Mock NCM::Component::prefix() correctly HOT 1
- investigate missed missing import
- javadoc doclint issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maven-tools.