File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
tests/alternates/building-on-matlab-docker-image Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1- % Copyright 2023 The MathWorks, Inc.
1+ % Copyright 2023-2025 The MathWorks, Inc.
22
33classdef productsTest < matlab .unittest .TestCase
44
@@ -12,6 +12,13 @@ function testInstalledToolboxesMatchExpected( testCase )
1212 " Deep Learning Toolbox" ,...
1313 " Symbolic Math Toolbox" ...
1414 ];
15+
16+ if ~ isMATLABReleaseOlderThan(" R2025a" )
17+ expectedTbxNames = [expectedTbxNames , ...
18+ " Deep Learning Toolbox Model for ResNet-50 Network" , ...
19+ ];
20+ end
21+
1522 installedTbxNames = matlab .addons .installedAddons().Name;
1623 testCase .verifyThat(installedTbxNames , IsSameSetAs(expectedTbxNames ));
1724 end
Original file line number Diff line number Diff line change 1- # Copyright 2023 The MathWorks, Inc.
1+ # Copyright 2023-2025 The MathWorks, Inc.
22
33"""
44Test class to validate the "building-on-matlab-docker-image" Dockerfile.
@@ -62,6 +62,13 @@ def test_packages_present(self):
6262 f"Package { pkg } is not installed" ,
6363 )
6464
65+ @unittest .skip (
66+ "Skipping test as mathworks/matlab images are not always built with the mathworks matlab-deps default os"
67+ )
68+ def test_matlab_deps_packages_installed (self ):
69+ """Override the test of the same name defined in the inherited test class."""
70+ pass
71+
6572
6673################################################################################
6774
You can’t perform that action at this time.
0 commit comments