Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLiam Devine <dmail00@gmail.com>2011-05-27 19:19:07 +0400
committerLiam Devine <dmail00@gmail.com>2011-05-27 19:19:07 +0400
commita315c34f15f0b90eb2c611a676cabe07b2a1db5b (patch)
tree9fa31cca4c8f18e04e499f04594a5e32408950ca /tests
parentb04c702a0f5376fefd12c19a89484345c71a6e60 (diff)
parent993959c899b9088974ebd89e0aeb0c53afd3bfcc (diff)
Pulling stable change into dev.
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/make/test_make_linking.lua16
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
+