llcppsymg:gendylib path test

llcppsymg:headerpath test
This commit is contained in:
luoliwoshang
2024-09-25 11:56:43 +08:00
parent a83f7a822e
commit ffa823f748
7 changed files with 294 additions and 53 deletions

View File

@@ -0,0 +1,23 @@
#stdout
=== Test GenHeaderFilePath ===
Test case: Valid files
Input files: [test1.h test2.h]
Output: [test1.h test2.h]
Test case: Mixed existing and non-existing files
Input files: [test1.h nonexistent.h]
Error: some files not found or inaccessible: [file not found: nonexistent.h]
Output: [test1.h]
Test case: No existing files
Input files: [nonexistent1.h nonexistent2.h]
Error: some files not found or inaccessible: [file not found: nonexistent1.h file not found: nonexistent2.h]
Test case: Empty file list
Input files: []
Error: no valid header files
#stderr
#exit 0