mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
test_build.sh: Delete old build dir when Meson is used
Make sure to start from a clean environment when Meson is used. Also, rename the variable "builddir" to "build_dir" for better readability and to avoid typos. Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: I050ed916685728cbed9c10601a6bcad6d59a4eda Reviewed-on: https://review.coreboot.org/c/flashrom/+/67541 Reviewed-by: Thomas Heijligen <src@posteo.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b867765f2d
commit
2307053d1d
@ -37,10 +37,13 @@ build_make () {
|
|||||||
|
|
||||||
|
|
||||||
build_meson () {
|
build_meson () {
|
||||||
builddir=out
|
build_dir=out
|
||||||
meson $builddir -Dtests=enabled
|
|
||||||
ninja -C $builddir
|
rm -rf ${build_dir}
|
||||||
ninja -C $builddir test
|
|
||||||
|
meson $build_dir -Dtests=enabled
|
||||||
|
ninja -C $build_dir
|
||||||
|
ninja -C $build_dir test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user