Skip to content

Commit 89025fe

Browse files
committed
CDRIVER-2211 use .cmd files in Evergreen, not .bat
Error code reporting in .bat files is broken in Windows.
1 parent 69b1989 commit 89025fe

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.evergreen/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -756,8 +756,8 @@ tasks:
756756
# Build libmongoc with CMake (not Autotools) and compile a program
757757
# that links dynamically or statically to it, using variables from
758758
# CMake's find_package command.
759-
LINK_STATIC= cmd.exe /c .\\.evergreen\\link-sample-program-msvc.bat
760-
LINK_STATIC=1 cmd.exe /c .\\.evergreen\\link-sample-program-msvc.bat
759+
LINK_STATIC= cmd.exe /c .\\.evergreen\\link-sample-program-msvc.cmd
760+
LINK_STATIC=1 cmd.exe /c .\\.evergreen\\link-sample-program-msvc.cmd
761761
762762
- name: link-with-cmake-windows-ssl
763763
depends_on:
@@ -778,8 +778,8 @@ tasks:
778778
# that links dynamically or statically to it, using variables from
779779
# CMake's find_package command.
780780
export ENABLE_SSL=1
781-
LINK_STATIC= cmd.exe /c .\\.evergreen\\link-sample-program-msvc.bat
782-
LINK_STATIC=1 cmd.exe /c .\\.evergreen\\link-sample-program-msvc.bat
781+
LINK_STATIC= cmd.exe /c .\\.evergreen\\link-sample-program-msvc.cmd
782+
LINK_STATIC=1 cmd.exe /c .\\.evergreen\\link-sample-program-msvc.cmd
783783
784784
- name: link-with-cmake-mingw
785785
depends_on:
@@ -797,7 +797,7 @@ tasks:
797797
# Build libmongoc with CMake (not Autotools) and compile a program
798798
# that links dynamically or statically to it, using variables from
799799
# pkg-config.exe.
800-
cmd.exe /c .\\.evergreen\\link-sample-program-mingw.bat
800+
cmd.exe /c .\\.evergreen\\link-sample-program-mingw.cmd
801801
802802
- name: link-with-pkg-config
803803
depends_on:

0 commit comments

Comments
 (0)