diff options
author | Jason Perkins <starkos@industriousone.com> | 2013-05-02 19:51:52 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2013-05-02 19:51:52 +0400 |
commit | ce29979cca0b9f6722f670b8cd0b10aef1ee50ff (patch) | |
tree | a356c657ce9ceac2a4fb87bc3cef9a7a9a55cb74 /tests | |
parent | e1478cbb172cfb7bcb6220d154fc6f12d5e04bc6 (diff) |
Fix bug 171: ImpLib used incorrectly in dependency paths
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_targets.lua | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/test_targets.lua b/tests/test_targets.lua index c0f6d44..e530851 100644 --- a/tests/test_targets.lua +++ b/tests/test_targets.lua @@ -5,7 +5,7 @@ -- T.targets = { } - + local cfg function T.targets.setup() cfg = { } @@ -95,7 +95,7 @@ result = premake.gettarget(cfg, "build", "posix", "posix", "macosx") test.isequal([[../bin/MyProject.app/Contents/MacOS/MyProject]], result.fullpath) end - + function T.targets.WindowedApp_Build_PS3Names() cfg.kind = "WindowedApp" result = premake.gettarget(cfg, "build", "posix", "PS3", "macosx") @@ -221,6 +221,13 @@ test.isequal([[../bin/libMyProject.a]], result.fullpath) end + function T.targets.StaticLib_Link_IgnoresImpLib() + cfg.kind = "StaticLib" + cfg.implibdir = "../lib" + result = premake.gettarget(cfg, "link", "posix", "posix", "macosx") + test.isequal([[../bin/libMyProject.a]], result.fullpath) + end + -- @@ -232,4 +239,4 @@ result = premake.gettarget(cfg, "build", "windows", "windows", "linux") test.isequal([[..\bin]], result.directory) test.isequal([[..\bin\MyProject.exe]], result.fullpath) - end
\ No newline at end of file + end |