summaryrefslogtreecommitdiff
path: root/odk/CustomTarget_build-examples.mk
AgeCommit message (Collapse)Author
2018-04-27add a second argument to the odk_build-examples_test "template"Rene Engelhard
... as two times my_example_dirs (probably) runs into the same "global variable" issue like with testname= Change-Id: I40dcff8e1e01c0cf557143432003bd9d8787bce1 Reviewed-on: https://gerrit.libreoffice.org/53553 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
2018-04-25fix buildRene Engelhard
Change-Id: If2315987d2447b1a44f3e62384f03d2621be7106 Reviewed-on: https://gerrit.libreoffice.org/53455 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Rene Engelhard <rene@debian.org>
2018-04-25move $(eval $(call gb_CustomTarget_CustomTarget back to build_examples*.mkRene Engelhard
... since otherwise gbuild doesn't understand it and (e.g.) make odk.clean fails Change-Id: Ie6098bcf1ff99ee1a5df5fd5219d3b3c82075f71
2018-04-24include build-examples_common.mk with full pathRene Engelhard
Change-Id: Ia8a541b3d1e1f27c493ba371d970bfff3a893ae2
2018-04-24split odk/build-examples Java tests out into a build-examples_java testRene Engelhard
... since archs with the "Zero VM" take loooong otherwise and eventually gets killed after 150 minutes of "inactivity" (no output) Change-Id: If421378920c791fdc5d165cc452bdd40e136c8d1
2018-02-16Start each run of CustomTarget_odk/build-examples with a clean slateStephan Bergmann
Change-Id: Icf6a12254b32c6fcdb7e9cbe1057c73907cf3005 Reviewed-on: https://gerrit.libreoffice.org/49860 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-09-06OSX fix ODK example builds with enabled SIPJan-Marek Glogowski
The "System Integrity Protection”, introduced in macOS El Capitan, strips DYLD_* environment variables from all calls of software in /bin and /usr/bin. As a workaround we copy the shell to a temporary file and use it in our "sub-make" calls to build the examples. Change-Id: I3f07492782d56e153e8fcdea605a042ec1898276 Reviewed-on: https://gerrit.libreoffice.org/41975 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-06-09More tests to suppress (all .PHONY test targets should be covered now)Stephan Bergmann
Change-Id: Ib948547e5c177ac62506fc42a564368a8d31fa4e
2017-03-07Force CustomTarget_build-examples into en-US localeStephan Bergmann
odk/examples/DevelopersGuide/Components/SimpleLicense/ builds an example extension with a license that needs to be accepted when the extension is installed. That's why odk/CustomTarget_build-examples.mk writes "yes" into stdin. Unfortunately, the expected acceptance string is localized, so running this in e.g. a Linux de_DE.UTF-8 locale fails. For Linux and macOS at least (which are the only platforms on which this test is currently enabled), it suffices to to set LC_ALL=C to force LO into its en-US locale. Change-Id: I1df0ea89400913ac3f1c90507721040119354727 Reviewed-on: https://gerrit.libreoffice.org/34951 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-02-07Clean up tabsStephan Bergmann
Change-Id: I6b121e9e1e78afed2c14946dcc7d734c28b07495
2017-02-07...but on macOS we do need the SDK-augmented DYLD_LIBRARY_PATHStephan Bergmann
...because the executables in SDK's bin/ dir find LO's URE libs that way Change-Id: I7fe88638760afc24d639c6162656ee40c05e6814
2017-02-05Fix LD_LIBRARY_PATH resettingStephan Bergmann
I /think/ a set-but-null LD_LIBRARY_PATH (Linux), DYLD_LIBRARY_PATH (macOS) are each treated like an unset one. Change-Id: If60698d6f21a16456dac9c3d4f4e1aa3561e1a65
2017-02-01odk: don't run make with LD_LIBRARY_PATH setMichael Stahl
In a build with -fsanitize=address, this fails with: Change-Id: If8581363a395af78bbbe00dd656290aea53af330 make: symbol lookup error: instdir/program/libfreebl3.so: undefined symbol: __asan_option_detect_stack_use_after_return
2017-02-01odk: recreate setsdkenv if config changesMichael Stahl
Change-Id: I4a34f03fdab4626bdbf9b254986b0953ecfdffa7
2017-02-01Adapt CustomTarget_odk/build-examples to macOSStephan Bergmann
Change-Id: Ib64d5b5fa1bf13a484adb296b969d1b96387f0c6
2017-01-31Build the ODK examples during subsequentcheckStephan Bergmann
...at least on Linux for now Change-Id: Id9d909a3b071c37ba0cd29bbff0edb83d937145f