[Libreoffice-commits] core.git: sc/Module_sc.mk sc/Package_Files.mk sc/util

Tor Lillqvist tml at collabora.com
Tue Nov 18 11:24:52 PST 2014


 sc/Module_sc.mk        |    1 +
 sc/Package_Files.mk    |   16 ++++++++++++++++
 sc/util/testopencl.xls |binary
 3 files changed, 17 insertions(+)

New commits:
commit 9c2cf556a6ba532ad26a3b4d96e42f9f2b5e00ac
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Nov 18 21:02:41 2014 +0200

    Add a spreadsheet to test OpenCL implementation on user request
    
    Loading this spreadsheet and verifying that the end result in A1 is "PASS"
    will be bound to the 'Test' button on the calculation details dialog.
    
    Actually, I wonder whether it might be saner to just populate a spreadsheet
    programmatically instead of having a (not huge, but still large) test file
    bundled in the installation? We could make it so that the generated document
    stays open and is usable normally, so that if necessary (for instance for
    comparison with other spreadsheet applications) it can be saved.
    
    Change-Id: Idea972cd0f598643e35314576f593047d49378c6

diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 9385dc5..a7609a8 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_Module_add_targets,sc,\
 	Library_scd \
 	Library_scfilt \
 	$(call gb_Helper_optional,DESKTOP,Library_scui) \
+	Package_Files \
 ))
 
 $(eval $(call gb_Module_add_l10n_targets,sc,\
diff --git a/sc/Package_Files.mk b/sc/Package_Files.mk
new file mode 100644
index 0000000..d40e375
--- /dev/null
+++ b/sc/Package_Files.mk
@@ -0,0 +1,16 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Package_Package,sc_Files,$(SRCDIR)/sc/util))
+
+$(eval $(call gb_Package_add_files_with_dir,sc_Files,$(LIBO_SHARE_FOLDER)/scalc,\
+	testopencl.xls \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/util/testopencl.xls b/sc/util/testopencl.xls
new file mode 100644
index 0000000..e13179f
Binary files /dev/null and b/sc/util/testopencl.xls differ


More information about the Libreoffice-commits mailing list