@@ -77,23 +77,8 @@ switch ($action) {
7777 if ($exit -ne 0 ) {
7878 exit $exit
7979 }
80- ctest - C Debug
81- $exit = $LASTEXITCODE
82- if ($exit -ne 0 ) {
83- exit $exit
84- }
8580 $env: PATH = " $BUILD_DIR \ext\src\dll\Debug;$env: PATH "
86- examples\simple\Debug\example_simple.exe
87- $exit = $LASTEXITCODE
88- if ($exit -ne 0 ) {
89- exit $exit
90- }
91- examples\metrics_simple\Debug\metrics_ostream_example.exe
92- $exit = $LASTEXITCODE
93- if ($exit -ne 0 ) {
94- exit $exit
95- }
96- examples\logs_simple\Debug\example_logs_simple.exe
81+ ctest - C Debug
9782 $exit = $LASTEXITCODE
9883 if ($exit -ne 0 ) {
9984 exit $exit
@@ -115,23 +100,8 @@ switch ($action) {
115100 if ($exit -ne 0 ) {
116101 exit $exit
117102 }
118- ctest - C Debug
119- $exit = $LASTEXITCODE
120- if ($exit -ne 0 ) {
121- exit $exit
122- }
123103 $env: PATH = " $BUILD_DIR \ext\src\dll\Debug;$env: PATH "
124- examples\simple\Debug\example_simple.exe
125- $exit = $LASTEXITCODE
126- if ($exit -ne 0 ) {
127- exit $exit
128- }
129- examples\metrics_simple\Debug\metrics_ostream_example.exe
130- $exit = $LASTEXITCODE
131- if ($exit -ne 0 ) {
132- exit $exit
133- }
134- examples\logs_simple\Debug\example_logs_simple.exe
104+ ctest - C Debug
135105 $exit = $LASTEXITCODE
136106 if ($exit -ne 0 ) {
137107 exit $exit
@@ -277,6 +247,7 @@ switch ($action) {
277247 if ($exit -ne 0 ) {
278248 exit $exit
279249 }
250+ $env: PATH = " $BUILD_DIR \ext\src\dll\Debug;$env: PATH "
280251 ctest - C Debug
281252 $exit = $LASTEXITCODE
282253 if ($exit -ne 0 ) {
@@ -467,13 +438,13 @@ switch ($action) {
467438 $CMAKE_OPTIONS = @ (
468439 " -DCMAKE_CXX_STANDARD=17" ,
469440 " -DVCPKG_TARGET_TRIPLET=x64-windows" ,
470- " -DCMAKE_TOOLCHAIN_FILE=$VCPKG_DIR /scripts/buildsystems/vcpkg.cmake"
441+ " -DCMAKE_TOOLCHAIN_FILE=$VCPKG_DIR /scripts/buildsystems/vcpkg.cmake" ,
442+ " -DOPENTELEMETRY_BUILD_DLL=1"
471443 )
472444
473445 cmake $SRC_DIR `
474446 $CMAKE_OPTIONS `
475447 " -DCMAKE_INSTALL_PREFIX=$INSTALL_TEST_DIR " `
476- - DOPENTELEMETRY_BUILD_DLL= 1 `
477448 - DWITH_ABI_VERSION_1= ON `
478449 - DWITH_ABI_VERSION_2= OFF `
479450 - DWITH_THREAD_INSTRUMENTATION_PREVIEW= ON `
0 commit comments