From 0847dff5cd6522dbef29958cbafa7a56f409e82a Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 22 Dec 2010 21:57:48 +0200 Subject: [PATCH] Fix test builds in Win32 Use forward slashes for the TEST_RESOURCES definition. libgit2 uses only forward slashes. Signed-off-by: Vicent Marti --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 104de86a5..41d3d30ec 100644 --- a/wscript +++ b/wscript @@ -144,7 +144,7 @@ def build_tests(bld): return 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 bld.objects(source=['tests/test_helpers.c', 'tests/test_lib.c'], includes=['src', 'tests'], target='test_helper')