1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +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:
Felix Singer 2022-07-22 22:45:19 +02:00 committed by Thomas Heijligen
parent 5c5b0a8fab
commit caed9f0d2e

View File

@ -1,10 +1,19 @@
#!/usr/bin/env sh
set -e
build_make () {
make CONFIG_EVERYTHING=yes
}
build_meson () {
builddir=out
meson $builddir
ninja -C $builddir
ninja -C $builddir test
}
build_make
build_meson