File tree 2 files changed +16
-2
lines changed
tests/alternates/building-on-matlab-docker-image
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.
2
2
3
3
classdef productsTest < matlab .unittest .TestCase
4
4
@@ -12,6 +12,13 @@ function testInstalledToolboxesMatchExpected( testCase )
12
12
" Deep Learning Toolbox" ,...
13
13
" Symbolic Math Toolbox" ...
14
14
];
15
+
16
+ if ~ isMATLABReleaseOlderThan(" R2025a" )
17
+ expectedTbxNames = [expectedTbxNames , ...
18
+ " Deep Learning Toolbox Model for ResNet-50 Network" , ...
19
+ ];
20
+ end
21
+
15
22
installedTbxNames = matlab .addons .installedAddons().Name;
16
23
testCase .verifyThat(installedTbxNames , IsSameSetAs(expectedTbxNames ));
17
24
end
Original file line number Diff line number Diff line change 1
- # Copyright 2023 The MathWorks, Inc.
1
+ # Copyright 2023-2025 The MathWorks, Inc.
2
2
3
3
"""
4
4
Test class to validate the "building-on-matlab-docker-image" Dockerfile.
@@ -62,6 +62,13 @@ def test_packages_present(self):
62
62
f"Package { pkg } is not installed" ,
63
63
)
64
64
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
+
65
72
66
73
################################################################################
67
74
You can’t perform that action at this time.
0 commit comments