-
kov@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=62935 Patch by Lukasz Slachciak <l.slachciak@samsung.com> on 2011-07-14 Reviewed by Gustavo Noronha. WebKit can be build with WEBKITOUTPUTDIR env variable set using build-webkit script. In this case WEBKITOUTPUDIR may be outside repository structure. This causes testmimehandling and testwebview to fail because they use external test files in WebKit Source directory. This bug fixes this issue introducing optional environment variable WEBKITREPODIR Also coding style in existing functions is fixed. * tests/test_utils.c: Coding style fixes. (testutils_relative_chdir): If WEBKITREPODIR is set, change current directory to it. * tests/test_utils.h: Coding style fixes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d0f508b0