-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* PackChk should not report .cc as invalid C++ extension: SDCMSIS-1306 * Added test * Added Destroy() to ErrLog class --------- Co-authored-by: Thorsten de Buhr <[email protected]>
- Loading branch information
1 parent
2d97e20
commit 331b229
Showing
9 changed files
with
114 additions
and
22 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
// tests1.c |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
//header 1 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
// tests1.c |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
// tests1.c |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
// tests1.c |
39 changes: 39 additions & 0 deletions
39
tools/packchk/test/data/SupportCcFiles/TestVendor.SupportCcFiles_DFP.pdsc
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<package schemaVersion="1.4" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd"> | ||
<vendor>TestVendor</vendor> | ||
<url>http://www.testurl.com/pack/</url> | ||
<name>SupportCcFiles_DFP</name> | ||
<description>Filename is directory</description> | ||
|
||
<releases> | ||
<release version="0.0.1" date="2025-02-03">> | ||
Initial release of SupportCcFiles. | ||
</release> | ||
</releases> | ||
|
||
<keywords> | ||
<keyword>SupportCcFiles</keyword> | ||
</keywords> | ||
|
||
<conditions> | ||
<condition id="Test_Condition"> | ||
<description>Test Device</description> | ||
<require Dvendor="ARM:82"/> | ||
</condition> | ||
</conditions> | ||
|
||
<components> | ||
<component Cclass="TestClass" Cgroup="TestFiles" Cversion="1.0.0" condition="Test_Condition"> | ||
<description>Test files</description> | ||
<files> | ||
<file category="TestGlobal" name="Files/header1.h"/> | ||
<file category="source" name="Files/test1.c"/> | ||
<file category="sourceC" name="Files/test1.c"/> | ||
<file category="sourceCpp" name="Files/test1.cpp"/> | ||
<file category="sourceCpp" name="Files/test1.cc"/> | ||
<file category="sourceCpp" name="Files/fileWillFail.ccc"/> | ||
</files> | ||
</component> | ||
</components> | ||
</package> |
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