tools: Avoid making the tests interfere with the main build directory
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-07-21 14:49:59 +02:00
parent de7e58c274
commit 0d924f89d3
Signed by: apio
GPG Key ID: B8A7D06E42258954
2 changed files with 3 additions and 1 deletions

View File

@ -16,4 +16,4 @@ export LUNA_BUILD=ninja
export LUNA_CMAKE_GENERATOR_NAME="Ninja"
fi
export LUNA_BUILD_DIR=$LUNA_ROOT/build/$LUNA_BUILD-$LUNA_ARCH
export LUNA_BUILD_DIR=$LUNA_ROOT/build/${LUNA_BUILD_PREFIX:-""}$LUNA_BUILD-$LUNA_ARCH

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -e
export LUNA_BUILD_PREFIX="tests-"
source $(dirname $0)/env.sh
cd $LUNA_ROOT