File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,12 @@ def test_with_any_microvm(test_microvm_any):
121
121
122
122
IP4_GENERATOR_CREATE_LOCK = threading .Lock ()
123
123
124
+ MICROVM_FIXTURE_PARAMS = ['' , 'vsock' ]
125
+ # Since this is a temporary feature, we do not test
126
+ # it on aarch64.
127
+ if platform .machine () == "aarch64" :
128
+ MICROVM_FIXTURE_PARAMS = ['' ]
129
+
124
130
125
131
# This codebase uses Python features available in Python 3.6 or above
126
132
if sys .version_info < (3 , 6 ):
@@ -288,7 +294,7 @@ def aux_bin_paths(test_session_root_path):
288
294
}
289
295
290
296
291
- @pytest .fixture (params = [ '' , 'vsock' ] )
297
+ @pytest .fixture (params = MICROVM_FIXTURE_PARAMS )
292
298
def microvm (request , test_session_root_path , aux_bin_paths ):
293
299
"""Instantiate a microvm."""
294
300
# pylint: disable=redefined-outer-name
Original file line number Diff line number Diff line change 10
10
11
11
import host_tools .cargo_build as host # pylint:disable=import-error
12
12
13
+ MACHINE = platform .machine ()
13
14
FEATURES = ["" , "vsock" ]
15
+
16
+ # Since this is a temporary feature, we do not test
17
+ # it on aarch64.
18
+ if MACHINE == "aarch64" :
19
+ FEATURES = ["" ]
20
+
14
21
BUILD_TYPES = ["debug" , "release" ]
15
22
16
- MACHINE = platform .machine ()
17
23
TARGETS = ["{}-unknown-linux-gnu" .format (MACHINE ),
18
24
"{}-unknown-linux-musl" .format (MACHINE )]
19
25
You can’t perform that action at this time.
0 commit comments