Commit graph

108 commits

Author SHA1 Message Date
David Ostrovsky
0e68bac852 set up python unit test infrastructure
Extract boostraping code from convwatch.py to unotest.py. Use python builtin
unittest module as unit test framework. Specify the unit test modules in make
file. Another option would be to use discover mode of unittest module.

Add __pycache__ to global .gitignore to keep the source directory clean.
Another option would be to deliver the unit tests to workdir prior to test
execution.

Currently only system python3 is supported.

Change-Id: I2692817673f786e950e1176a17c7675f989755b6
Reviewed-on: https://gerrit.libreoffice.org/3214
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-04-09 05:52:23 +00:00
David Tardon
2149279914 add instdir to .gitignore
Change-Id: I73ce022d064c7ccfeb71f5560f112aac3d777bf7
2013-04-06 13:33:33 +02:00
Stephan Bergmann
69072caa91 autogen.lastrun -> autogen.input
Change-Id: If205ae9eb25882a107fd1cadfab9ec3516d520db
2013-04-03 19:19:15 +02:00
Luboš Luňák
4f1616a59e .gitignore for the whole config_build/ directory 2013-03-01 18:28:00 +01:00
Stephan Bergmann
a595c6e12b dmake is dead and burried
Change-Id: I5662db1cfe3506b3a8d4444248f872345cca4343
2013-02-28 08:24:44 +01:00
Stephan Bergmann
357b2be9b7 ...and add new lo.xcent to .gitignore
Change-Id: Ic4d098694b1dc6149aa690fa2bb106a8162ca6ab
2013-02-04 09:57:27 +01:00
Tor Lillqvist
c5b1441ede Use separate config_*.h files for BUILD and HOST when cross-compiling
We have only been lucky so far that there hasn't been any compilation errors
caused by using the HOST platform config_*.h files also for the BUILD
platform. But as more and more information found out during configury is
stored in config_*.h files, sooner or later it will be a problem.

Move config/* to config_host/*. When not cross-compiling, the config_*.h files
in config_host expanded from config_*.h.in are all there is. When
cross-compiling, the generated config_*.h files for the BUILD platform are
put into a config_build folder.

Then use config_build when building the cross_toolset and config_host
otherwise.

Change-Id: I3c28cc83866bffd696b45d00dfb68e00bc2ae538
2013-01-31 21:43:59 +02:00
Michael Stahl
49440d2588 .gitignore: re-add VIM swap files
Change-Id: I08ab04005720e0de826d6a0cd33211e3a70d5965
2013-01-03 16:02:12 +01:00
Peter Foley
5b0d2d02a5 convert external to gbuild
Change-Id: I7127db6aad9e97a0f3e758aa83b22ac8465d3f43
2012-12-25 09:39:47 +01:00
Norbert Thiebaud
d6bbdaf02d clean-up .gitignore
the general goal is

1/ to avoid the bloat of pet conviniences rules that
can be managed using other git provided means

2/ to work toward the goal of a read-only-source-tree build

Change-Id: I5ff9836e135507dcc53b37fd1098aa7876612bfc
2012-12-21 17:26:38 -06:00
Stephan Bergmann
d15fbd21db No more .memdump files left behind by xstlproc in postprocess
...since e37eb6345d "postprocess: convert to
gbuild"

Change-Id: Ia7f29efebb2872e096d36ab04f5d13bc2d437d71
2012-12-19 16:53:09 +01:00
Matúš Kukan
6af14cc8ec src.downloaded is gone
Change-Id: I09a6ad82bbb54ce8329e8b2f6152e9f5a1880a68
2012-12-15 12:56:36 +01:00
Norbert Thiebaud
ae4e327739 Prepare for read-only source build
This patch allows to do

mkdir <build_dir>
cd <build_dir>
<src_root>/autogen.sh
make

Only the remaining dmake modules are poluting the <src_root>...
which will get eventually convererd to gmake...

Change-Id: Iefd64732fa12e096d554cff4eee6b777deb92338
Reviewed-on: https://gerrit.libreoffice.org/1273
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-12-11 14:26:30 +00:00
Stephan Bergmann
de2c6007fc Do not accumulate warnings across configure runs
...and remove temporary file again.

Change-Id: I199b054d8e7b87d1c9268abbe628393d480e42f7
2012-12-06 14:59:42 +01:00
Matúš Kukan
16aa073855 move ooo.lst and download parts to Makefile.fetch
Change-Id: I2d27341566d383002446c23bdf60c7aa0cabf37d
2012-11-27 22:40:22 +01:00
Matúš Kukan
827c3806ad repo-list is gone since 664012b313
Change-Id: I2178f60a75a0436c66f825fe001e23f6aefb0e97
2012-11-20 22:18:11 +01:00
Matteo Casalin
e7037b2e7e Kill set_oenv remnants (by just renaming the required timestamp file)
Change-Id: I779128111a4f69235a4c8cc6510018fc61d1b24b
Reviewed-on: https://gerrit.libreoffice.org/1026
Tested-by: Tor Lillqvist <tml@iki.fi>
Reviewed-by: Tor Lillqvist <tml@iki.fi>
2012-11-11 08:05:14 +00:00
Tor Lillqvist
c39ba09616 Revert "Add the concat-deps executable"
It is already elsewhere, I was mislead by a leftover old one.

This reverts commit 75f7241fb7.
2012-11-05 16:05:50 +02:00
Tor Lillqvist
75f7241fb7 Add the concat-deps executable
Change-Id: Ic782353cbe77c2d30e8afac4807fe2c6fd882733
2012-11-05 15:48:44 +02:00
Tor Lillqvist
ff8f891feb No need to mention "/solver", I think
We already mention /*/unxlng???, /*/unxlng???.pro etc which should
cover the normal $OUTDIR. We do now have one git-managed file in
solver, README. Not mentioning /solver means git status will notice
other files or subdirectories accidentally or misguidedly added in
solver.

Change-Id: Ie70b9ff32ac9c7282cef8d28ff04f3a22e4a78f6
2012-11-05 15:40:02 +02:00
Matúš Kukan
8835ac678f bin pointless post_download.in
Getting dbghelp.dll with help of dbg_x86.msi was removed.
It was most probably obsolete.

Change-Id: Iab4c63b2ad883e3d1db3df965eecf15dccb478eb
2012-11-03 17:36:50 +01:00
Matúš Kukan
75a087c807 compile concat-deps in solenv; also put them into $(OUTDIR)
Change-Id: I4ef21f14a77442b60059c649b83435c775670060
2012-11-03 17:36:44 +01:00
Stephan Bergmann
743e279933 No more clone directory
Change-Id: I59239bfa1865bc5f19e620216edd95227c5fb318
2012-10-22 08:41:38 +02:00
Norbert Thiebaud
9152c42a65 submodules migration
Change-Id: Ib3e472a4b1abf880f695be7a6667393d6a82f10d
2012-10-16 11:28:26 -05:00
Stephan Bergmann
cc9c380b15 .gitignore config.Build.log
Change-Id: I48bdd2045a9b85153a9d39ee667c9083ab6a5a61
2012-08-29 11:22:50 +02:00
David Tardon
a39f11a276 gbuildize extras
Change-Id: I190b1314a91026dcfc39df3e3e178df55d14d90a
2012-08-24 13:22:05 +02:00
Will Thompson
c80787cd82 tubes: Give a useful error when test-config.ini is missing. 2012-07-17 16:39:30 +02:00
Matúš Kukan
e9e3bd0659 do not hide .patch files
to hide more, try git config --global core.excludesfile

Change-Id: I1da4131b943a962797a1f389554139e87fe074bc
2012-07-16 07:28:32 +02:00
Artur Dorda
1ae18926df Added dumping [property] FillTransparence and ignoring .patch files
Change-Id: I676a811a618b381f4a99010e40fdf1627cea7067
2012-07-12 03:10:00 +02:00
Luboš Luňák
dc3ea99bd0 add autogen.lastrun.bak to .gitignore 2012-03-16 20:11:54 +01:00
Norbert Thiebaud
fb30190911 do not hide patch-related file (.orig .rej)
If you want to hide them, add the rule in you local git set-up.
see git config --global core.excludesfiles fo more info
2012-02-18 18:41:03 -06:00
Norbert Thiebaud
909cd34b7b coup de grace for Env.Host.sh and associated files 2012-02-05 19:34:05 -06:00
Norbert Thiebaud
fd9366c85c prep work to eliminated Env.*.sh, introduce config_{host,build}.mk
This introduce config_host.mk and config_build.mk
generated from config_host.mk.in
The intent is for that file to be both sourcable in a shell and includable
in a gnu Makefile.
Eventually all the environment set-up will be in config_host.mk.in
and so there won't be a need to source anything in shell before make.
2011-12-24 21:42:08 -06:00
Peter Foley
4862b48b4d ignore concat-deps on cygwin 2011-12-20 12:15:32 -05:00
Peter Foley
2dfdf47b59 ignore merge modules 2011-12-20 12:06:32 -05:00
Michael Stahl
e0c780d3c2 .gitignore: better VIM swp pattern 2011-12-19 18:23:03 +01:00
Norbert Thiebaud
e3e94f141e use a c-version of concat-deps.pl
This touch configure.in with a trivial space removal to force a
./bootstrap on the tinderboxes

This make ./bootstrap build a 'build-side' executable concat-deps
and modify LinkTarget.mk to use it instead of concat-deps.pl

The impact is a conservative x10 times improvement in both elapsed and
cpu time in overhead due to DEP generations.


time make -sr build in tail_build after removing
workdir/$INPATH/Dep/LinkTarget/Library/*

(all on Intel X3360, 2.83GHz, 4-core)

before:
elapsed: 116.5 cpu: 115.9
after
elapsed: 24.3 cpu: 23.9
base (no dep processing, i.e no rm of Dep/...)
elapsed: 17.5 cpu: 17.4
overhead ratio:
elapsed: 14.5x cpu: 15x

same with -j6
before:
elapsed: 47 cpu: 116
after:
elapsed: 20.8 cpu: 24
base:
elapsed: 17.5 cpu: 17.5
overhead ratio:
elapsed: 9x cpu: 15x

Note: for now the executable is generated directly in the source tree
(in solevn/bin ). That is not ideal. It and other similar polution
should be moved, to workdir most likely..
For now we just hide the mess under the .gitignore carpet
2011-12-17 10:54:45 -06:00
Tor Lillqvist
d6723c4efa Add .DS_Store 2011-12-12 22:15:02 +02:00
Bjoern Michaelsen
80f27b43e1 Makefile.in -- die, die, die! 2011-11-29 17:25:14 +01:00
Caolán McNamara
02d946fae5 gitignore debugging droppings 2011-11-16 13:24:06 +00:00
Norbert Thiebaud
cb70868bda add utility script and build_env to avoid sourcing Env.Host.sh
The goal is to able to do partial build without having
to source Env.Host.sh into one's environment

There is 2 way to use this:

1/
copy the scripts lo_find_src_root and lo_proxy_start
somewhere in your PATH, and
then you can add
alias build='lo_proxy_start build'
alias deliver='lo_proxy_start deliver'
in your .bashrc

at that point you can use build and deliver anywhere in the source tree
without the need to source anything.
This allow you to switch from one source tree to another.
the proper SRC_ROOT will be determined automatically based
on the current working directory

2/
source build_env

build_env only source the bare minimum to allow build and make to work
for the associated source tree.
If you want to work in a diffrent tree, you need to resource
2011-11-16 06:18:53 -06:00
Michael Stahl
d5f0b174d6 .gitignore: do not ignore *.patch 2011-11-15 20:52:00 +01:00
Michael Meeks
ea9915a550 hush more kinds of file types 2011-11-07 14:19:34 +00:00
Caolán McNamara
dde2c5e5dc ignore callcatcher dirs 2011-10-18 13:58:57 +01:00
Caolán McNamara
5e0e2517f9 ignore libxslt .memdump and LibO lock files 2011-10-10 20:27:59 +01:00
Peter Foley
b64bc8b4b3 ignore downloaded extensions 2011-10-07 23:03:44 +00:00
Norbert Thiebaud
aa09a9b77d bootstrap.1 is not usefull anymore use bootsrap directly 2011-10-07 15:27:32 -05:00
Tomas Chvatal
b6d2ac0148 Add pspfontcache to gitignore. 2011-10-03 12:15:18 +02:00
Tor Lillqvist
7c7d6ff8fa Ignore the MSVC vc90.pdb files 2011-09-21 12:59:58 +03:00
Tomas Chvatal
a6f311ac01 Add file-lists/ folder to gitignore. 2011-09-20 18:25:51 +02:00