| #
05c96b18 |
| 02-Dec-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Put build in 'current', not 'current/current'
Buildman currently puts current-source builds in a current/current subdirectory, but there is no need for the extra depth.
Suggested-by: Albe
buildman: Put build in 'current', not 'current/current'
Buildman currently puts current-source builds in a current/current subdirectory, but there is no need for the extra depth.
Suggested-by: Albert Aribaud <albert.u.boot@aribaud.net> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
bd5053ff |
| 14-Jan-2015 |
Tom Rini <trini@ti.com> |
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
Conflicts: tools/buildman/control.py
Signed-off-by: Tom Rini <trini@ti.com>
|
| #
97cdf640 |
| 04-Dec-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'sandbox' of git://git.denx.de/u-boot-x86
|
| #
1d8104fe |
| 16-Oct-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Don't default to -e when building current source
We probably don't need to enable this option by default. It is useful to display only failure boards (not errors) and it is easy to add -e
buildman: Don't default to -e when building current source
We probably don't need to enable this option by default. It is useful to display only failure boards (not errors) and it is easy to add -e if it is required. Also update the docs.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Albert Aribaud <albert.u.boot@aribaud.net>
show more ...
|
| #
0b5b409a |
| 15-Oct-2014 |
Simon Glass <sjg@chromium.org> |
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.or
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
1ddda1b3 |
| 15-Oct-2014 |
Simon Glass <sjg@chromium.org> |
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.or
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
58d818f1 |
| 15-Oct-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Don't default to -e when using -s
When using summary mode (-s) we don't always want to display errors. Allow this option to be omitted.
Series-to: u-boot Series-cc: albert Change-Id: I6b3
buildman: Don't default to -e when using -s
When using summary mode (-s) we don't always want to display errors. Allow this option to be omitted.
Series-to: u-boot Series-cc: albert Change-Id: I6b37754d55eb920ecae114fceba55834b43ea3b9 Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Albert Aribaud <albert.u.boot@aribaud.net>
show more ...
|
| #
3cc83f9d |
| 07-Oct-2014 |
Minkyu Kang <mk7.kang@samsung.com> |
Merge branch 'uboot'
|
| #
692c2235 |
| 23-Sep-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'misc' of git://git.denx.de/u-boot-x86
|
| #
42817eb8 |
| 22-Sep-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
| #
7798e228 |
| 15-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Fix the logic for the bloat command
This check should now be done whatever mode buildman is running in, since we may be displaying information while building.
Signed-off-by: Simon Glass <
buildman: Fix the logic for the bloat command
This check should now be done whatever mode buildman is running in, since we may be displaying information while building.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
5935408a |
| 10-Sep-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
|
| #
950a2313 |
| 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Ignore conflicting tags
Tags like Series-version are normally expected to appear once, and with a unique value. But buildman doesn't actually look at these tags. So ignore conflicts.
This
buildman: Ignore conflicting tags
Tags like Series-version are normally expected to appear once, and with a unique value. But buildman doesn't actually look at these tags. So ignore conflicts.
This allows bulidman to build a branch containing multiple patman series.
Reported-by: Steve Rae <srae@broadcom.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
f7582ce8 |
| 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Permit branch names with an embedded '/'
At present buildman naively uses the branch name as part of its directory path, which causes problems if the name has an embedded '/'.
Replace the
buildman: Permit branch names with an embedded '/'
At present buildman naively uses the branch name as part of its directory path, which causes problems if the name has an embedded '/'.
Replace these with '_' to fix the problem.
Reported-by: Steve Rae <srae@broadcom.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
883a321a |
| 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Provide an internal option to clean the outpur dir
For testing it is useful to clean the output directory before running a test. This avoids a test interfering with the results of a subseq
buildman: Provide an internal option to clean the outpur dir
For testing it is useful to clean the output directory before running a test. This avoids a test interfering with the results of a subsequent test by leaving data around.
Add this feature as an optional parameter to the control logic.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
823e60b6 |
| 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Allow tests to have their own boards
Rather than reading boards.cfg, which may take time to generate and is not necessarily suitable for running tests, create our own list of boards.
Sign
buildman: Allow tests to have their own boards
Rather than reading boards.cfg, which may take time to generate and is not necessarily suitable for running tests, create our own list of boards.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
fd03d63f |
| 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Set up bsettings outside the control module
Move the bsettings code back to the main buildman.py file, so we can do something different when testing.
Signed-off-by: Simon Glass <sjg@chrom
buildman: Set up bsettings outside the control module
Move the bsettings code back to the main buildman.py file, so we can do something different when testing.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
d4144e45 |
| 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add a functional test
Buildman currently lacks testing in many areas, including its use of git, make and many command-line flags.
Add a functional test which covers some of these areas. S
buildman: Add a functional test
Buildman currently lacks testing in many areas, including its use of git, make and many command-line flags.
Add a functional test which covers some of these areas. So far it does a fake 'build' of all boards for the current source tree.
This version reads the real ~/.buildman and boards.cfg files. Future work will improve this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
48ba5856 |
| 06-Sep-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Move full help code into the control module
There is no good reason to keep this code separate. Move it into control.py so it is easier to test.
Signed-off-by: Simon Glass <sjg@chromium.o
buildman: Move full help code into the control module
There is no good reason to keep this code separate. Move it into control.py so it is easier to test.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
ed966657 |
| 28-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to show which boards caused which errors
Add a -l option to display a list of offending boards against each error/warning line. The information will be shown in brackets as b
buildman: Add an option to show which boards caused which errors
Add a -l option to display a list of offending boards against each error/warning line. The information will be shown in brackets as below:
02: wip sandbox: + sandbox arm: + seaboard +(sandbox) arch/sandbox/cpu/cpu.c: In function 'timer_get_us': +(sandbox) arch/sandbox/cpu/cpu.c:40:9: warning: unused variable 'i' [-Wunused-variable] +(seaboard) board/nvidia/seaboard/seaboard.c: In function 'pin_mux_mmc': +(seaboard) board/nvidia/seaboard/seaboard.c:36:9: warning: unused variable 'fred' [-Wunused-variable] +(seaboard) int fred; +(seaboard) ^
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
3cf4ae6f |
| 28-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Implement an option to exclude boards from the build
Some boards are known to be broken and it is convenient to be able to exclude them from the build.
Add an --exclude option to specific
buildman: Implement an option to exclude boards from the build
Some boards are known to be broken and it is convenient to be able to exclude them from the build.
Add an --exclude option to specific boards to exclude. This uses the same matching rules as the normal 'include' arguments, and is a comma- separated list of regular expressions.
Suggested-by: York Sun <yorksun@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
2c3deb97 |
| 28-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Set the return code to indicate build result
When buildman finds errors/warnings when building, set the return code to indicate this.
Suggested-by: York Sun <yorksun@freescale.com> Signed
buildman: Set the return code to indicate build result
When buildman finds errors/warnings when building, set the return code to indicate this.
Suggested-by: York Sun <yorksun@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
390f7035 |
| 22-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
buildman: run genboardscfg.py all the time
This commit makes sure boards.cfg is up to date before starting the build tests. tools/genboardscfg.py exits immediately printing "boards.cfg is up to dat
buildman: run genboardscfg.py all the time
This commit makes sure boards.cfg is up to date before starting the build tests. tools/genboardscfg.py exits immediately printing "boards.cfg is up to date. Nothing to do." when boards.cfg is already new.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
31e2141d |
| 15-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools, scripts: refactor error-out statements of Python scripts
In Python, sys.exit() function can also take an object other than an integer.
If an integer is given to the argument, Python exits wi
tools, scripts: refactor error-out statements of Python scripts
In Python, sys.exit() function can also take an object other than an integer.
If an integer is given to the argument, Python exits with the return code of it. If a non-integer argument is given, Python outputs it to stderr and exits with the return code of 1.
That means,
print >> sys.stderr, "Blah Blah" sys.exit(1)
is equivalent to
sys.exit("Blah Blah")
The latter is a useful shorthand.
Note: Some error messages in Buildman and Patman were output to stdout. But they should go to stderr. They are also fixed by this commit. This is a nice side effect.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
3b74ba5f |
| 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Allow selection of the number of commits to build
It is useful to be able to build only some of the commits in a branch. Add support for the -c option to allow this. It was previously pars
buildman: Allow selection of the number of commits to build
It is useful to be able to build only some of the commits in a branch. Add support for the -c option to allow this. It was previously parsed by buildman but not implemented.
Suggested-by: York Sun <yorksun@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: York Sun <yorksun@freescale.com>
show more ...
|