CWS-TOOLING: integrate CWS sb104
2009-01-27 13:09:06 +0100 sb r266986 : #i97992# cws rebase: merged cws/sb104/config_office/set_soenv.in with moved tags/DEV300_m40/set_soenv.in 2009-01-27 10:56:40 +0100 sb r266966 : CWS-TOOLING: rebase CWS sb104 to trunk@266944 (milestone: DEV300:m40) 2009-01-20 14:37:00 +0100 sb r266581 : #i97992# missing treatment of Solaris-only adjustvisibility as build-internal tool 2009-01-20 09:32:38 +0100 sb r266554 : CWS-TOOLING: rebase CWS sb104 to trunk@266428 (milestone: DEV300:m39) 2009-01-14 13:40:45 +0100 sb r266296 : #i97992# do not pass comment lines to shell 2009-01-14 12:50:34 +0100 sb r266290 : #i97992# avoid problems with checkdll not finding AWTLIB and its dependents 2009-01-14 12:49:20 +0100 sb r266289 : #i97992# on Linux and Solaris, regxpcom apparently needs to be called with the libxpcom.so directory on the LD_LIBRARY_PATH 2009-01-13 09:41:37 +0100 sb r266196 : #i97992# fixed AUGMENT_LIBRARY_PATH definitions 2009-01-12 18:02:03 +0100 sb r266177 : #i97992# get rid of LD_LIBRARY_PATH in build environment
This commit is contained in:
@@ -496,12 +496,6 @@ sub doTest {
|
|||||||
|
|
||||||
print "starting office ($INSTSETNAME)\n";
|
print "starting office ($INSTSETNAME)\n";
|
||||||
|
|
||||||
if ($gui eq "UNX") {
|
|
||||||
delete $ENV{LD_LIBRARY_PATH};
|
|
||||||
}
|
|
||||||
if ($ENV{OS} eq "MACOSX") {
|
|
||||||
delete $ENV{DYLD_LIBRARY_PATH};
|
|
||||||
}
|
|
||||||
$Command = "\"$programpath" . "$SOFFICEBIN\" -norestore -nocrashreport macro:///Standard.Global.StartTestWithDefaultOptions";
|
$Command = "\"$programpath" . "$SOFFICEBIN\" -norestore -nocrashreport macro:///Standard.Global.StartTestWithDefaultOptions";
|
||||||
if ( (defined($ENV{OS})) && ($ENV{OS} eq "MACOSX") ) {
|
if ( (defined($ENV{OS})) && ($ENV{OS} eq "MACOSX") ) {
|
||||||
$Command = "cd \"$programpath\"; " . $Command;
|
$Command = "cd \"$programpath\"; " . $Command;
|
||||||
@@ -610,7 +604,12 @@ sub doInstall {
|
|||||||
my $instoo_dir = "$ENV{SOLARROOT}/instsetoo_native";
|
my $instoo_dir = "$ENV{SOLARROOT}/instsetoo_native";
|
||||||
|
|
||||||
if ( $ENV{'SYSTEM_MOZILLA'} eq 'YES' ) {
|
if ( $ENV{'SYSTEM_MOZILLA'} eq 'YES' ) {
|
||||||
$ENV{'LD_LIBRARY_PATH'} = "$ENV{'MOZ_LIB'}:$ENV{'LD_LIBRARY_PATH'}";
|
if (defined $ENV{'LD_LIBRARY_PATH'}) {
|
||||||
|
$ENV{'LD_LIBRARY_PATH'} =
|
||||||
|
"$ENV{'LD_LIBRARY_PATH'}:$ENV{'MOZ_LIB'}";
|
||||||
|
} else {
|
||||||
|
$ENV{'LD_LIBRARY_PATH'} = $ENV{'MOZ_LIB'};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$ENV{'PYTHONPATH'} = "$ENV{SOLARROOT}/instsetoo_native/$ENV{INPATH}/bin:$ENV{SOLARVERSION}/$ENV{INPATH}/lib";
|
$ENV{'PYTHONPATH'} = "$ENV{SOLARROOT}/instsetoo_native/$ENV{INPATH}/bin:$ENV{SOLARVERSION}/$ENV{INPATH}/lib";
|
||||||
$ENV{OUT} = "../$ENV{INPATH}";
|
$ENV{OUT} = "../$ENV{INPATH}";
|
||||||
|
@@ -66,6 +66,7 @@ BMSMA_OBJFILES=\
|
|||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
APP1TARGET= $(TARGET)
|
APP1TARGET= $(TARGET)
|
||||||
APP1OBJS= $(COMMON_OBJFILES) $(TESTSHL_OBJFILES)
|
APP1OBJS= $(COMMON_OBJFILES) $(TESTSHL_OBJFILES)
|
||||||
|
APP1RPATH=NONE
|
||||||
|
|
||||||
APP1STDLIBS=$(SALLIB)
|
APP1STDLIBS=$(SALLIB)
|
||||||
|
|
||||||
|
@@ -192,16 +192,16 @@ $(DLLDEST)$/uno_services.rdb .ERRREMOVE: $(DLLDEST)$/uno_types.rdb \
|
|||||||
$(DLLDEST)$/bridgetest.uno$(DLLPOST) $(DLLDEST)$/cppobj.uno$(DLLPOST) \
|
$(DLLDEST)$/bridgetest.uno$(DLLPOST) $(DLLDEST)$/cppobj.uno$(DLLPOST) \
|
||||||
$(MISC)$/$(TARGET)$/bootstrap.rdb $(SHL3TARGETN)
|
$(MISC)$/$(TARGET)$/bootstrap.rdb $(SHL3TARGETN)
|
||||||
- $(MKDIR) $(@:d)
|
- $(MKDIR) $(@:d)
|
||||||
cd $(DLLDEST) && $(REGCOMP) -register -br uno_types.rdb -r uno_services.rdb\
|
cd $(DLLDEST) && $(REGCOMP) -register -br uno_types.rdb -r uno_services.rdb -wop \
|
||||||
-c acceptor.uno$(DLLPOST) \
|
-c acceptor.uno$(DLLPOST) \
|
||||||
-c bridgefac.uno$(DLLPOST) \
|
-c bridgefac.uno$(DLLPOST) \
|
||||||
-c connector.uno$(DLLPOST) \
|
-c connector.uno$(DLLPOST) \
|
||||||
-c remotebridge.uno$(DLLPOST) \
|
-c remotebridge.uno$(DLLPOST) \
|
||||||
-c uuresolver.uno$(DLLPOST) \
|
-c uuresolver.uno$(DLLPOST) \
|
||||||
-c bridgetest.uno$(DLLPOST) \
|
-c .$/bridgetest.uno$(DLLPOST) \
|
||||||
-c cppobj.uno$(DLLPOST) \
|
-c .$/cppobj.uno$(DLLPOST) \
|
||||||
-c stocservices.uno$(DLLPOST) \
|
-c stocservices.uno$(DLLPOST) \
|
||||||
-c $(SHL3TARGETN:f)
|
-c .$/$(SHL3TARGETN:f)
|
||||||
.IF "$(SOLAR_JAVA)" != ""
|
.IF "$(SOLAR_JAVA)" != ""
|
||||||
$(REGCOMP) -register -br $(DLLDEST)$/uno_types.rdb -r $@ \
|
$(REGCOMP) -register -br $(DLLDEST)$/uno_types.rdb -r $@ \
|
||||||
-c javaloader.uno$(DLLPOST) -c javavm.uno$(DLLPOST)
|
-c javaloader.uno$(DLLPOST) -c javavm.uno$(DLLPOST)
|
||||||
|
@@ -106,7 +106,7 @@ $(DLLDEST)$/regcomp$(EXECPOST) : $(SOLARBINDIR)$/regcomp$(EXECPOST)
|
|||||||
|
|
||||||
$(DLLDEST)$/pyuno_regcomp.rdb: $(DLLDEST)$/uno_types.rdb $(SOLARBINDIR)$/pyuno_services.rdb
|
$(DLLDEST)$/pyuno_regcomp.rdb: $(DLLDEST)$/uno_types.rdb $(SOLARBINDIR)$/pyuno_services.rdb
|
||||||
-rm -f $@
|
-rm -f $@
|
||||||
$(WRAPCMD) regmerge $(DLLDEST)$/pyuno_regcomp.rdb / $(DLLDEST)$/uno_types.rdb $(SOLARBINDIR)$/pyuno_services.rdb
|
$(WRAPCMD) $(REGMERGE) $(DLLDEST)$/pyuno_regcomp.rdb / $(DLLDEST)$/uno_types.rdb $(SOLARBINDIR)$/pyuno_services.rdb
|
||||||
|
|
||||||
doc .PHONY:
|
doc .PHONY:
|
||||||
@echo start test with dmake runtest
|
@echo start test with dmake runtest
|
||||||
|
Reference in New Issue
Block a user