mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-13 08:01:17 +01:00
Setup DOM conformance files path so we can find them when running under hudson
This commit is contained in:
parent
50c39c533c
commit
623a169cf7
4 changed files with 8 additions and 2 deletions
|
@ -61,3 +61,4 @@ m4/lt~obsolete.m4
|
|||
*.vcxproj.user
|
||||
*.sdf
|
||||
ipch
|
||||
test_path.hpp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
AC_INIT([Arabica], [2010-November], [jez@jezuk.co.uk])
|
||||
AC_INIT([Arabica], [2011-Sometime], [jez@jezuk.co.uk])
|
||||
|
||||
AM_INIT_AUTOMAKE([1.9 tar-ustar dist-bzip2 dist-zip])
|
||||
|
||||
|
@ -43,6 +43,7 @@ AC_CONFIG_FILES([tests/Utils/Makefile])
|
|||
AC_CONFIG_FILES([tests/Taggle/Makefile])
|
||||
AC_CONFIG_FILES([tests/SAX/Makefile])
|
||||
AC_CONFIG_FILES([tests/DOM/Makefile])
|
||||
AC_CONFIG_FILES([tests/DOM/test_path.hpp])
|
||||
AC_CONFIG_FILES([tests/XPath/Makefile])
|
||||
AC_CONFIG_FILES([tests/XSLT/Makefile])
|
||||
AC_CONFIG_FILES([tests/XSLT/test_path.hpp])
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
#ifdef ARABICA_WINDOWS
|
||||
const std::string PATH_PREFIX="../tests/DOM/conformance/files/";
|
||||
#else
|
||||
const std::string PATH_PREFIX="./conformance/files/";
|
||||
#include "test_path.hpp"
|
||||
const std::string PATH_PREFIX=test_path;
|
||||
#endif
|
||||
|
||||
template<class string_type, class string_adaptor>
|
||||
|
|
3
tests/DOM/test_path.hpp.in
Normal file
3
tests/DOM/test_path.hpp.in
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
const char* test_path = "@top_srcdir@/tests/DOM/conformance/files/";
|
||||
|
Loading…
Reference in a new issue