File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -627,13 +627,13 @@ install(DIRECTORY ${METRICS_SDK_MATLAB_SOURCES} DESTINATION .)
627627install (DIRECTORY ${LOGS_SDK_MATLAB_SOURCES} DESTINATION .)
628628install (DIRECTORY ${COMMON_SDK_MATLAB_SOURCES} DESTINATION .)
629629install (DIRECTORY ${AUTO_INSTRUMENTATION_MATLAB_SOURCES} DESTINATION .)
630- install (DIRECTORY ${INSTRUMENTATION_MBT_MATLAB_SOURCES} DESTINATION .)
631630install (FILES ${EXPORTER_MATLAB_SOURCES} DESTINATION ${OTLP_EXPORTERS_DIR} )
632631if (WITH_OTLP_HTTP)
633632 install (FILES ${OTLP_HTTP_EXPORTER_MATLAB_SOURCES} DESTINATION ${OTLP_EXPORTERS_DIR} )
634633endif ()
635634if (WITH_OTLP_GRPC)
636635 install (FILES ${OTLP_GRPC_EXPORTER_MATLAB_SOURCES} DESTINATION ${OTLP_EXPORTERS_DIR} )
636+ install (DIRECTORY ${INSTRUMENTATION_MBT_MATLAB_SOURCES} DESTINATION .)
637637endif ()
638638if (WITH_OTLP_FILE)
639639 install (FILES ${OTLP_FILE_EXPORTER_MATLAB_SOURCES} DESTINATION ${OTLP_EXPORTERS_DIR} )
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ function setup(testCase)
2929 end
3030
3131 function onlyTestIfgRPCIsInstalled(testCase )
32+ % Do not run if gRPC is not installed
3233 testCase .assumeTrue(logical(exist(" opentelemetry.exporters.otlp.OtlpGrpcSpanExporter" , " class" )), ...
3334 " Otlp gRPC exporter must be installed." );
34- end
35-
36- function createBuildRunner(testCase )
35+
36+ % Set up build runner
3737 plugin = matlab .buildtool .plugins .OpenTelemetryPlugin();
3838 testCase.BuildRunner = matlab .buildtool .BuildRunner .withNoPlugins();
3939 testCase .BuildRunner .addPlugin(plugin );
@@ -474,4 +474,4 @@ function buildToolDoesNotConfigureOTelWhenEnvVariableSet(testCase)
474474 end
475475
476476 error(" No span found" );
477- end
477+ end
You can’t perform that action at this time.
0 commit comments