summaryrefslogtreecommitdiffstats
path: root/test_build.sh
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.de>2021-03-31 13:33:23 +0200
committerNico Huber <nico.h@gmx.de>2021-04-14 15:54:11 +0000
commit485c335a34b47080e4fd40c50ee36bd70e09e115 (patch)
tree69f85c5f732b47a0b976d039c18df25d872f2e3a /test_build.sh
parentada10bb43da618a228f0a5b07f9d713a9d4d3098 (diff)
downloadflashrom-485c335a34b47080e4fd40c50ee36bd70e09e115.tar.gz
flashrom-485c335a34b47080e4fd40c50ee36bd70e09e115.tar.bz2
flashrom-485c335a34b47080e4fd40c50ee36bd70e09e115.zip
test_build.sh: use -C option of ninja to specify the build directory
Change-Id: I04a0fdf9b5126b9f4006e8229c3926ceb1013456 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/51979 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'test_build.sh')
-rwxr-xr-xtest_build.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/test_build.sh b/test_build.sh
index 8f11ccdd4..dc286f86a 100755
--- a/test_build.sh
+++ b/test_build.sh
@@ -3,6 +3,8 @@ set -e
make CONFIG_EVERYTHING=yes WARNERROR=yes
-meson out
-(cd out && ninja)
-(cd out && ninja test)
+
+builddir=out
+meson $builddir
+ninja -C $builddir
+ninja -C $builddir test