llcppsymg:gendylib path test
llcppsymg:headerpath test
This commit is contained in:
22
chore/_xtool/llcppsymg/dylib/dylib_test/llgo.expect
Normal file
22
chore/_xtool/llcppsymg/dylib/dylib_test/llgo.expect
Normal file
@@ -0,0 +1,22 @@
|
||||
#stdout
|
||||
=== Test GenDylibPaths ===
|
||||
Test case: Lua library
|
||||
Input: -L/opt/homebrew/lib -llua -lm
|
||||
Output: [/opt/homebrew/lib/liblua.dylib /opt/homebrew/lib/libm.dylib]
|
||||
|
||||
Test case: SQLite library
|
||||
Input: -L/opt/homebrew/opt/sqlite/lib -lsqlite3
|
||||
Output: [/opt/homebrew/opt/sqlite/lib/libsqlite3.dylib]
|
||||
|
||||
Test case: INIReader library
|
||||
Input: -L/opt/homebrew/Cellar/inih/58/lib -lINIReader
|
||||
Output: [/opt/homebrew/Cellar/inih/58/lib/libINIReader.dylib]
|
||||
|
||||
Test case: No valid library
|
||||
Input: -L/opt/homebrew/lib
|
||||
Error: failed to parse pkg-config output: -L/opt/homebrew/lib
|
||||
|
||||
|
||||
#stderr
|
||||
|
||||
#exit 0
|
||||
Reference in New Issue
Block a user