diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-18 21:02:41 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-18 21:22:51 +0200 |
commit | 9c2cf556a6ba532ad26a3b4d96e42f9f2b5e00ac (patch) | |
tree | 65aac5f1b662bea9bd2c4c7a99a7f54a41980c8e | |
parent | 383a36369f2d2b71a0c784bfc45e5d91737a4559 (diff) |
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
-rw-r--r-- | sc/Module_sc.mk | 1 | ||||
-rw-r--r-- | sc/Package_Files.mk | 16 | ||||
-rw-r--r-- | sc/util/testopencl.xls | bin | 0 -> 138240 bytes |
3 files changed, 17 insertions, 0 deletions
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk index 9385dc5138bc..a7609a8ccdf2 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 000000000000..d40e375d65f3 --- /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 Binary files differnew file mode 100644 index 000000000000..e13179f14af9 --- /dev/null +++ b/sc/util/testopencl.xls |