-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
Scope: Get rid of the code block below in the unit test function, and define test_env_vars for the windows build variant! (in evergreen.yml)
if [ "Windows_NT" = "$OS" ]; then export "PATH=/cygdrive/c/Python39:/cygdrive/c/Python39/Scripts:$PATH" export "PYTHONPATH=$(pwd)/../lang/python/wiredtiger):$(cygpath -w $(pwd)/../lang/python)" fi
Unit test function
"unit test": command: shell.exec params: working_dir: "wiredtiger" script: | set -o errexit set -o verbose if [ "Windows_NT" = "$OS" ]; then export "PATH=/cygdrive/c/Python39:/cygdrive/c/Python39/Scripts:$PATH" export "PYTHONPATH=$(pwd)/../lang/python/wiredtiger):$(cygpath -w $(pwd)/../lang/python)" fi if [ ${is_cmake_build|false} = true ]; then cd cmake_build else cd build_posix fi ${test_env_vars|} ${python_binary|python3} ../test/suite/run.py ${unit_test_args|-v 2} ${smp_command|} 2>&1