forked from philips-software/amp-embedded-infra-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added infra::Join to OutputStream to concatenate infra::MemoryRange using a glue string * Replaced auto parameter with explicit type to stay compatible with C++11 * Tracer: Make Trace() and Continue() as virtual * Add PersistingBondStorage. * infra/util/Observer: Add DelayedAttachDetach to Observer and SingleObserver * infra/syntax/Json: Handle the {" case, where a string literal is opened but not closed * feat: add fuzz testing of JsonObject * fix: stop reviewdog from changing line-endings * chore: normalize line-endings * fix: run formatter * fix: get rid of last gmtime * fix: TracerWithTime Co-authored-by: Timmer, Daan <daan.timmer@philips.com> Co-authored-by: Arun Magi <Arun.Magi@philips.com> Co-authored-by: Rob Ekelmans <rob.ekelmans@philips.com> Co-authored-by: Richard Peters <richard.peters@philips.com>
- Loading branch information
1 parent
4a99744
commit 23061b9
Showing
36 changed files
with
1,371 additions
and
1,009 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/> | ||
|
||
<!-- Use Muenchian grouping to group by filename; https://en.wikipedia.org/wiki/XSLT/Muenchian_grouping --> | ||
<xsl:key name="testcases-by-file" match="*/testsuite/testcase" use="@file" /> | ||
|
||
<xsl:template match="/"> | ||
<xsl:for-each select="*/testsuite/testcase[count(. | key('testcases-by-file', @file)[1]) = 1]"> | ||
<xsl:variable name="current-grouping-key" select="@file"/> | ||
<xsl:variable name="current-group" select="key('testcases-by-file', $current-grouping-key)"/> | ||
|
||
<file path="{$current-grouping-key}"> | ||
<xsl:for-each select="$current-group"> | ||
<testCase name="{@name}" duration="{1000 * number(@time)}"> | ||
<xsl:if test="contains(@status, 'notrun')"> | ||
<skipped message="Disabled">Skipped disabled test</skipped> | ||
</xsl:if> | ||
</testCase> | ||
</xsl:for-each> | ||
</file> | ||
</xsl:for-each> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/> | ||
|
||
<!-- Use Muenchian grouping to group by filename; https://en.wikipedia.org/wiki/XSLT/Muenchian_grouping --> | ||
<xsl:key name="testcases-by-file" match="*/testsuite/testcase" use="@file" /> | ||
|
||
<xsl:template match="/"> | ||
<xsl:for-each select="*/testsuite/testcase[count(. | key('testcases-by-file', @file)[1]) = 1]"> | ||
<xsl:variable name="current-grouping-key" select="@file"/> | ||
<xsl:variable name="current-group" select="key('testcases-by-file', $current-grouping-key)"/> | ||
|
||
<file path="{$current-grouping-key}"> | ||
<xsl:for-each select="$current-group"> | ||
<testCase name="{@name}" duration="{1000 * number(@time)}"> | ||
<xsl:if test="contains(@status, 'notrun')"> | ||
<skipped message="Disabled">Skipped disabled test</skipped> | ||
</xsl:if> | ||
</testCase> | ||
</xsl:for-each> | ||
</file> | ||
</xsl:for-each> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.