From 81e1164358f4d563899376cfdd9fdf963483c878 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 29 Oct 2023 01:09:11 +0000 Subject: [PATCH] test: compile deltachat-rpc-server in debug mode for tests This reduces compilation times. --- scripts/make-rpc-testenv.sh | 2 +- scripts/run-rpc-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/make-rpc-testenv.sh b/scripts/make-rpc-testenv.sh index d194bc854..8aa5b6f54 100755 --- a/scripts/make-rpc-testenv.sh +++ b/scripts/make-rpc-testenv.sh @@ -3,4 +3,4 @@ set -euo pipefail tox -c deltachat-rpc-client -e py --devenv venv venv/bin/pip install --upgrade pip -cargo install --path deltachat-rpc-server/ --root "$PWD/venv" +cargo install --path deltachat-rpc-server/ --root "$PWD/venv" --debug diff --git a/scripts/run-rpc-test.sh b/scripts/run-rpc-test.sh index 9617bb09c..7220d47a6 100755 --- a/scripts/run-rpc-test.sh +++ b/scripts/run-rpc-test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -euo pipefail -cargo install --path deltachat-rpc-server/ --root "$PWD/venv" +cargo install --path deltachat-rpc-server/ --root "$PWD/venv" --debug PATH="$PWD/venv/bin:$PATH" tox -c deltachat-rpc-client