mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 20:11:17 +00:00
Fix test builds in Win32
Use forward slashes for the TEST_RESOURCES definition. libgit2 uses only forward slashes. Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
parent
40c44d2fb6
commit
0847dff5cd
2
wscript
2
wscript
@ -144,7 +144,7 @@ def build_tests(bld):
|
|||||||
return
|
return
|
||||||
|
|
||||||
directory = bld.path
|
directory = bld.path
|
||||||
resources_path = directory.find_node('tests/resources/').abspath()
|
resources_path = directory.find_node('tests/resources/').abspath().replace('\\', '/')
|
||||||
|
|
||||||
# Common object with the Test library methods
|
# Common object with the Test library methods
|
||||||
bld.objects(source=['tests/test_helpers.c', 'tests/test_lib.c'], includes=['src', 'tests'], target='test_helper')
|
bld.objects(source=['tests/test_helpers.c', 'tests/test_lib.c'], includes=['src', 'tests'], target='test_helper')
|
||||||
|
Loading…
Reference in New Issue
Block a user