1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +02:00
flashrom/test_build.sh
Felix Singer caed9f0d2e 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>
2022-08-08 20:37:53 +00:00

20 lines
195 B
Bash
Executable File

#!/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