We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6de82d2 commit 6e7e6a2Copy full SHA for 6e7e6a2
.evergreen/run-tests.sh
@@ -76,7 +76,12 @@ fi
76
# Don't download unittest-xml-reporting from pypi, which often fails.
77
HAVE_XMLRUNNER=$($PYTHON -c "import pkgutil, sys; sys.stdout.write('1' if pkgutil.find_loader('xmlrunner') else '0')")
78
if [ $HAVE_XMLRUNNER = "1" ]; then
79
- OUTPUT="--xunit-output=xunit-results"
+ # The xunit output dir must be a Python style absolute path.
80
+ XUNIT_DIR="$(pwd)/xunit-results"
81
+ if [ "Windows_NT" = "$OS" ]; then # Magic variable in cygwin
82
+ XUNIT_DIR=$(cygpath -m $XUNIT_DIR)
83
+ fi
84
+ OUTPUT="--xunit-output=${XUNIT_DIR}"
85
else
86
OUTPUT=""
87
fi
0 commit comments