-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PackChk: issue on relative paths during case-sense check (#452)
PackChk: issue on relative paths during case-sense check excluding files from case sense check that have relative path elements "./" or "../" added test if files are below pack root directory – added test Co-authored-by: Thorsten de Buhr <[email protected]>
- Loading branch information
1 parent
c327305
commit 6b5dc76
Showing
9 changed files
with
107 additions
and
2 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
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 |
36 changes: 36 additions & 0 deletions
36
tools/packchk/test/data/TestPackRoot/Pack/TestVendor.TestPackRoot.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,36 @@ | ||
<?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>TestPackRoot</name> | ||
<description>TestPackRoot</description> | ||
|
||
<releases> | ||
<release version="0.0.1" date="2021-09-06">> | ||
Initial release of TestPackRoot. | ||
</release> | ||
</releases> | ||
|
||
<keywords> | ||
<keyword>TestPackRoot</keyword> | ||
</keywords> | ||
|
||
<conditions> | ||
<condition id="Test_Condition"> | ||
<description>Test Device</description> | ||
<require Dvendor="ARM:82"/> | ||
</condition> | ||
</conditions> | ||
|
||
<components> | ||
<component Cclass="TestClass" Cgroup="TestGlobal" Cversion="1.0.0" condition="Test_Condition"> | ||
<description>TestGlobal</description> | ||
<files> | ||
<file category="source" name="Files/test1.c"/> | ||
<file category="source" name="../ExtFiles/test2.c"/> | ||
</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
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