6ab96ee3d5
We can't run them in the normal way, but we build the tests as static archives, which we link into the single sal_cppunittester_all executable. (Work in progress, so far just a part of the tests are linked into it.) There is no makefilery yet to actually construct a complete iOS app bundle (.app directory), so just copy (in this case) the sal_cppunittester_all iOS executable on top of the executbale some dummy iOS app you build in Xcode... works fine, can be debugged that way.
62 lines
2.1 KiB
Makefile
62 lines
2.1 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
#
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# This file is part of OpenOffice.org.
|
|
#
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
# only, as published by the Free Software Foundation.
|
|
#
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Lesser General Public License version 3 for more details
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
# <http://www.openoffice.org/license.html>
|
|
# for a copy of the LGPLv3 License.
|
|
#
|
|
#*************************************************************************
|
|
PRJ=..
|
|
|
|
PRJNAME=sal
|
|
TARGET=whole_sal_qa
|
|
|
|
# LLA: irrelevant
|
|
# ENABLE_EXCEPTIONS=TRUE
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
# BEGIN ------------------------------------------------------------
|
|
# END --------------------------------------------------------------
|
|
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
.IF "$(runtests)"!=""
|
|
ALLTAR : test_all
|
|
.ENDIF
|
|
|
|
# OTHER STUFF ------------------------------------------------------
|
|
# test : test_all
|
|
|
|
# start tests with consideration of libs2test.txt with 'dmake test'
|
|
# run through all tests directories (from libs2test.txt) and try to start all tests
|
|
# use 'dmake test TESTOPT="buildall"'
|
|
|
|
# ALLTAR
|
|
test_all:
|
|
@echo ----------------------------------------------------------
|
|
@echo - start sal unit tests
|
|
@echo ----------------------------------------------------------
|
|
$(PERL) buildall.pl $(TESTOPT)
|