From da6dba56fb6ac9329a78ada2ad476c2deb8dc3ba Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Thu, 7 Mar 2019 10:24:06 +0100 Subject: [PATCH] Pass correct arguments on recursive call --- .gitlab/build-test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab/build-test.sh b/.gitlab/build-test.sh index c1f5637a05..ac03369c83 100755 --- a/.gitlab/build-test.sh +++ b/.gitlab/build-test.sh @@ -162,7 +162,11 @@ function setup_chroot { touch ${CHROOT_DIR}/.chroot_is_done # Call ourselves again which will cause tests to run - chroot ${CHROOT_DIR} bash -c "cd ${BUILD_DIR} && ./.gitlab/build-test.sh" + if [ ${MAKE_TARGET} = "cs" ]; then + chroot ${CHROOT_DIR} bash -c "cd ${BUILD_DIR} && ./.gitlab/build-test.sh" --jobs ${JOBS} --with-project-path ${BUILD_DIR} --enable-cs + else + chroot ${CHROOT_DIR} bash -c "cd ${BUILD_DIR} && ./.gitlab/build-test.sh" --jobs ${JOBS} --with-project-path ${BUILD_DIR} + fi } echo "Building for arch ${ARCH}"