Skip to content

Commit fc54d2e

Browse files
committed
remove product checks
1 parent 3931ae1 commit fc54d2e

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

plugins/+matlab/+unittest/+internal/+services/+plugins/TestResultsSummaryPluginService.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
methods
55
function plugins = providePlugins(~, ~)
6-
% Check if MATLAB Test license is available
7-
if strcmpi(getenv("MW_INPUT_GENERATE_SUMMARY"), "true") && license('test', 'matlab_test')
6+
if strcmpi(getenv("MW_INPUT_GENERATE_SUMMARY"), "true")
87
plugins = testframework.TestResultsSummaryPlugin();
98
else
109
plugins = matlab.unittest.plugins.TestRunnerPlugin.empty(1,0);

plugins/+testframework/TestResultsSummaryPlugin.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33

44
methods (Access=protected)
55
function reportFinalizedSuite(plugin, pluginData)
6-
% Checkout MATLAB Test license
7-
license('checkout', 'matlab_test');
8-
96
testDetails = struct([]);
107
for idx = 1:numel(pluginData.TestResult)
118
testDetails(idx).TestResult.Duration = pluginData.TestResult(idx).Duration;

0 commit comments

Comments
 (0)