Kaydet (Commit) f104b3ca authored tarafından Rene Engelhard's avatar Rene Engelhard

tdf#72987 run firebird test for little endian only for now

since those old(er) files still use the endianness-depending format.
And remove x64 from the filename...

Change-Id: I24e56cd8561c2ec6a1f77a66907c14cdea8248b6
Reviewed-on: https://gerrit.libreoffice.org/60916
Tested-by: Jenkins
Reviewed-by: 's avatarRene Engelhard <rene@debian.org>
üst 0b2bf16f
......@@ -180,6 +180,7 @@ export ENABLE_SYMBOLS=@ENABLE_SYMBOLS@
export ENABLE_VALGRIND=@ENABLE_VALGRIND@
export ENABLE_VLC=@ENABLE_VLC@
export ENABLE_WERROR=@ENABLE_WERROR@
export ENDIANNESS=@ENDIANNESS@
export EPM=@EPM@
export EPM_FLAGS=@EPM_FLAGS@
export EPUBGEN_CFLAGS=$(gb_SPACE)@EPUBGEN_CFLAGS@
......
......@@ -812,6 +812,13 @@ haiku*)
;;
esac
if test "$_os" != "WINNT"; then
AC_C_BIGENDIAN([ENDIANNESS=big], [ENDIANNESS=little])
else
ENDIANNESS=little
fi
AC_SUBST(ENDIANNESS)
if test "$_os" = "Android" ; then
# Verify that the NDK and SDK options are proper
if test -z "$with_android_ndk"; then
......
......@@ -35,9 +35,14 @@ $(eval $(call gb_Module_add_l10n_targets,dbaccess,\
ifneq ($(OS),IOS)
ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
$(eval $(call gb_Module_add_check_targets,dbaccess,\
CppunitTest_dbaccess_firebird_test \
$(if,$(ENABLE_JAVA),CppunitTest_dbaccess_hsqlbinary_import) \
))
# remove if we have a be file for this
ifeq ($(ENDIANNESS),little)
$(eval $(call gb_Module_add_check_targets,dbaccess,\
CppunitTest_dbaccess_firebird_test \
))
endif
endif
$(eval $(call gb_Module_add_check_targets,dbaccess,\
......
......@@ -42,7 +42,11 @@ public:
*/
void FirebirdTest::testEmptyDBConnection()
{
auto const tmp = createTempCopy("firebird_empty.odb");
#ifdef OSL_BIGENDIAN
// FIXME
#else
auto const tmp = createTempCopy("firebird_empty_le.odb");
#endif
uno::Reference< XOfficeDatabaseDocument > xDocument =
getDocumentForUrl(tmp.GetURL());
......@@ -57,8 +61,12 @@ void FirebirdTest::testEmptyDBConnection()
*/
void FirebirdTest::testIntegerDatabase()
{
#ifdef OSL_BIGENDIAN
// FIXME
#else
uno::Reference< XOfficeDatabaseDocument > xDocument =
getDocumentForFileName("firebird_integer_x64le_ods12.odb");
getDocumentForFileName("firebird_integer_le_ods12.odb");
#endif
uno::Reference< XConnection > xConnection =
getConnectionForDocument(xDocument);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment