diff options
author | Liam Devine <dmail00@gmail.com> | 2011-05-27 19:19:07 +0400 |
---|---|---|
committer | Liam Devine <dmail00@gmail.com> | 2011-05-27 19:19:07 +0400 |
commit | a315c34f15f0b90eb2c611a676cabe07b2a1db5b (patch) | |
tree | 9fa31cca4c8f18e04e499f04594a5e32408950ca /tests | |
parent | b04c702a0f5376fefd12c19a89484345c71a6e60 (diff) | |
parent | 993959c899b9088974ebd89e0aeb0c53afd3bfcc (diff) |
Pulling stable change into dev.
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 21f454e..7a346e6 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 + |