mirror of
https://github.com/Readarr/Readarr.git
synced 2026-03-05 13:20:32 -05:00
Set test log output via environment variable
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user