diff options
author | Liam Devine <dmail00@gmail.com> | 2011-05-27 18:55:06 +0400 |
---|---|---|
committer | Liam Devine <dmail00@gmail.com> | 2011-05-27 18:55:06 +0400 |
commit | 993959c899b9088974ebd89e0aeb0c53afd3bfcc (patch) | |
tree | b065b2427ee958364a4af1608681e181e2ffca97 /tests | |
parent | 82a86229de6b571c89bfb4b67dffcf38e1fc1703 (diff) |
Incorrect relative paths for gmake sibling static libraries
Diffstat (limited to 'tests')
-rw-r--r-- | tests/actions/make/test_make_linking.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/actions/make/test_make_linking.lua b/tests/actions/make/test_make_linking.lua index 5404bc1..0869e2d 100644 --- a/tests/actions/make/test_make_linking.lua +++ b/tests/actions/make/test_make_linking.lua @@ -93,4 +93,20 @@ test.string_contains(buffer,format_exspected) end + function T.link_suite.projectLinksToStaticPremakeMadeLibrary_projectDifferInDirectoryHeights_linksUsingCorrectRelativePath() + firstProject = project 'firstProject' + kind 'StaticLib' + language 'C' + + linksToFirstProject = project 'linksToFirstProject' + kind 'ConsoleApp' + language 'C' + links{'firstProject'} + location './foo/bar' + + local buffer = get_buffer(linksToFirstProject) + local format_exspected = 'LIBS %+%= ../../libfirstProject.a' + test.string_contains(buffer,format_exspected) + end + |