diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2023-04-06 15:39:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2023-04-11 00:13:08 +0000 |
commit | 7c84fb87e9a2915ffbbe27a6398abb670bf09f43 (patch) | |
tree | f7d0836e3fe7d2e1b777ac551c6837c1ccb23856 | |
parent | 4a8b5e6ec445b507fc0b1ef9842a60bf13c58772 (diff) | |
download | libinput-7c84fb87e9a2915ffbbe27a6398abb670bf09f43.tar.gz |
CI: remove unused meson-prep.sh and meson-test.sh scripts
From an earlier version of the b2c patches, before meson-build.sh got
updated to do what's required here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | .gitlab-ci/meson-prep.sh | 36 | ||||
-rwxr-xr-x | .gitlab-ci/meson-test.sh | 12 |
2 files changed, 0 insertions, 48 deletions
diff --git a/.gitlab-ci/meson-prep.sh b/.gitlab-ci/meson-prep.sh deleted file mode 100644 index e2630fe8..00000000 --- a/.gitlab-ci/meson-prep.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash - -set -x -if [[ -f .meson_environment ]]; then - . .meson_environment -fi - -if [[ -z "$MESON_BUILDDIR" ]]; then - echo "\$MESON_BUILDDIR undefined." - exit 1 -fi - -# emulate a few gitlab variables to make it easier to -# run and debug locally. -if [[ -z "$CI_JOB_ID" ]] || [[ -z "$CI_JOB_NAME" ]]; then - echo "Missing \$CI_JOB_ID or \$CI_JOB_NAME". - CI_JOB_ID=$(date +%s) - CI_JOB_NAME='libinput-job-local' - echo "Simulating gitlab environment: " - echo " CI_JOB_ID=$CI_JOB_ID" - echo " CI_JOB_NAME=$CI_JOB_NAME" -fi - -if [[ -n "$FDO_CI_CONCURRENT" ]]; then - NINJA_ARGS="-j$FDO_CI_CONCURRENT $NINJA_ARGS" - MESON_TESTTHREADS="$FDO_CI_CONCURRENT" -fi - -echo "*************************************************" -echo "builddir: $MESON_BUILDDIR" -echo "meson args: $MESON_ARGS" -echo "ninja args: $NINJA_ARGS" -echo "meson test args: $MESON_TEST_ARGS" -echo "*************************************************" - -set -e diff --git a/.gitlab-ci/meson-test.sh b/.gitlab-ci/meson-test.sh deleted file mode 100755 index ef72dfba..00000000 --- a/.gitlab-ci/meson-test.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -DIR="${BASH_SOURCE%/*}" -if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi -. $DIR/meson-prep.sh - -if [[ -z "$MESON_TEST_ARGS" ]]; then - echo "\$MESON_TEST_ARGS undefined." - exit 1 -fi - -meson test -C "$MESON_BUILDDIR" $MESON_TEST_ARGS --print-errorlogs |