aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/testing/testbuilder/README
blob: a8d5aea89c75ae02557a899693b2df2d11b28da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
= How to setup and use TestBuilder

I assume below that you wish install TestBuilder into ~/testbuilder directory.

1. Copy files from OE contrib/testing/testbuilder directory to any place you
   wish to use (e.g. ~/testbuilder) and goto that directory

2. Run setup-testbuilder script with OE branch and bitbake branch you wish to
   use. E.g.:
   ./setup-testbuilder "testing-next" "1.10"
 
   It will clone OE and bitbake trees and prepare build/conf/local.conf file
   for you. You can review local.conf after and add some settings there.

4. Create testbuilder.conf according your needs.  You can use
   testbuilder.conf.sample as reference.

5. Run ./testbuilder and wait for build results. Check 'logs' subdir for log
   files ('tail logs/B.*' is useful)

You can run single configured build (e.g. "testing")
./testbuilder -B testing

Or you can use testbuilder to build specified distro/machine/image
(e.g. angstrom-2008.1/qemuarm/console-image)
./testbuilder -D angstrom-2008.1 -M qemuarm console-image

If you wish only setup environment and run bitbake by hands you can
use -S option:
./testbuilder -D angstrom-2008.1 -M qemuarm -S

-- 
Yury 'Jay7' Bushmelev
email: jay4mail at gmail com
irc: Jay7 on freenode