mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-05 20:42:19 -07:00
Set test log output via environment variable
This commit is contained in:
parent
2dddf8cb33
commit
899f12fd0c
4 changed files with 61 additions and 4 deletions
8
test.sh
8
test.sh
|
@ -4,14 +4,20 @@ WHERE="cat != ManualTest"
|
|||
TEST_DIR="."
|
||||
TEST_PATTERN="*Test.dll"
|
||||
ASSEMBLIES=""
|
||||
TEST_LOG_FILE="TestLog.txt"
|
||||
|
||||
if [ -d "$TEST_DIR/_tests" ]; then
|
||||
TEST_DIR="$TEST_DIR/_tests"
|
||||
fi
|
||||
|
||||
rm -f "$TEST_LOG_FILE"
|
||||
|
||||
# Uncomment to log test output to a file instead of the console
|
||||
# export LIDARR_TESTS_LOG_OUTPUT="File"
|
||||
|
||||
NUNIT="$TEST_DIR/NUnit.ConsoleRunner.3.2.0/tools/nunit3-console.exe"
|
||||
NUNIT_COMMAND="$NUNIT"
|
||||
NUNIT_PARAMS="--teamcity"
|
||||
NUNIT_PARAMS="--teamcity --workers=1"
|
||||
|
||||
if [ "$PLATFORM" = "Windows" ]; then
|
||||
WHERE="$WHERE && cat != LINUX"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue