mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
test_build.sh: Move commands into functions
In preparation to follow up commits, move the commands into functions so that it's clear what belongs to what. Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: Ia2dc6f1d4d53b4d6a1255ef31c66799a484302fc Reviewed-on: https://review.coreboot.org/c/flashrom/+/66093 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
This commit is contained in:
parent
5c5b0a8fab
commit
caed9f0d2e
@ -1,10 +1,19 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
|
||||
make CONFIG_EVERYTHING=yes
|
||||
|
||||
build_make () {
|
||||
make CONFIG_EVERYTHING=yes
|
||||
}
|
||||
|
||||
|
||||
builddir=out
|
||||
meson $builddir
|
||||
ninja -C $builddir
|
||||
ninja -C $builddir test
|
||||
build_meson () {
|
||||
builddir=out
|
||||
meson $builddir
|
||||
ninja -C $builddir
|
||||
ninja -C $builddir test
|
||||
}
|
||||
|
||||
|
||||
build_make
|
||||
build_meson
|
||||
|
Loading…
x
Reference in New Issue
Block a user