1set PATH=C:\Windows\system32;C:\Windows;C:\mingw-w64\x86_64-4.9.1-posix-seh-rt_v3-rev1\mingw64\bin;C:\mongo-c-driver\bin
2
3rem "make install" would work, except we run tests on different Evergreen hosts,
4rem in different working directories, than where the driver was built. This
5rem causes errors in "make install" like:
6rem CMake Error at cmake_install cannot find
7rem "C:/data/mci/d3ba3391950aca9119e841818a8884bc/mongoc/src/libbson/libbson-1.0.dll"
8rem
9rem So just copy files manually
10
11rmdir /Q /S C:\mongo-c-driver
12md C:\mongo-c-driver
13md C:\mongo-c-driver\bin
14copy /Y libmongoc-1.0.dll C:\mongo-c-driver\bin
15copy /Y src\libbson\libbson-1.0.dll C:\mongo-c-driver\bin
16
17test-libmongoc.exe --no-fork -d -F test-results.json
18