We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21ddf0c commit ff6ca73Copy full SHA for ff6ca73
test/tbuildtoolplugin.m
@@ -29,11 +29,11 @@ function setup(testCase)
29
end
30
31
function onlyTestIfgRPCIsInstalled(testCase)
32
+ % Do not run if gRPC is not installed
33
testCase.assumeTrue(logical(exist("opentelemetry.exporters.otlp.OtlpGrpcSpanExporter", "class")), ...
34
"Otlp gRPC exporter must be installed.");
- end
35
-
36
- function createBuildRunner(testCase)
+
+ % Set up build runner
37
plugin = matlab.buildtool.plugins.OpenTelemetryPlugin();
38
testCase.BuildRunner = matlab.buildtool.BuildRunner.withNoPlugins();
39
testCase.BuildRunner.addPlugin(plugin);
@@ -474,4 +474,4 @@ function buildToolDoesNotConfigureOTelWhenEnvVariableSet(testCase)
474
475
476
error("No span found");
477
-end
+end
0 commit comments