diff options
Diffstat (limited to 'meson-test-release.diff')
-rw-r--r-- | meson-test-release.diff | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meson-test-release.diff b/meson-test-release.diff deleted file mode 100644 index 59b6bfbbb251..000000000000 --- a/meson-test-release.diff +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/build-aux/test.sh b/build-aux/test.sh -index f8ca912..f3b9e8f 100644 ---- a/build-aux/test.sh -+++ b/build-aux/test.sh -@@ -2,10 +2,19 @@ - - export SRC="$1" - export CARGO_TARGET_DIR="$2"/target --export OFFLINE="$3" -+export BUILDTYPE="$3" -+export OFFLINE="$4" -+ -+echo $BUILDTYPE -+ -+if [[ $BUILDTYPE = "release" ]]; then -+ PROFILE_ARG="--release" -+else -+ PROFILE_ARG="--verbose" -+fi - - if [[ $OFFLINE = "true" ]]; then - export CARGO_HOME="$SRC"/cargo - fi - --cargo test --manifest-path "$SRC"/Cargo.toml -\ No newline at end of file -+cargo test --manifest-path "$SRC"/Cargo.toml "$PROFILE_ARG" -\ No newline at end of file -diff --git a/src/meson.build b/src/meson.build -index 93d7387..909e9d6 100644 ---- a/src/meson.build -+++ b/src/meson.build -@@ -140,6 +140,7 @@ test('Unit tests', - args: [ - meson.source_root(), - meson.build_root(), -+ get_option('buildtype'), - get_option('offline') ? 'true' : 'false' - ] - ) |