File tree 2 files changed +22
-14
lines changed
scapy/contrib/automotive/scanner
2 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -64,67 +64,75 @@ jobs:
64
64
name : ${{ matrix.os }} ${{ matrix.installmode }} ${{ matrix.python }} ${{ matrix.mode }} ${{ matrix.flags }}
65
65
runs-on : ${{ matrix.os }}
66
66
timeout-minutes : 20
67
- continue-on-error : ${{ matrix.allow-failure }}
67
+ continue-on-error : ${{ matrix.allow-failure == 'true' }}
68
68
strategy :
69
69
fail-fast : false
70
70
matrix :
71
71
os : [ubuntu-latest]
72
72
python : ["3.7", "3.8", "3.9", "3.10"]
73
73
mode : [non_root]
74
74
installmode : ['']
75
- flags : ['' ]
76
- allow-failure : [false]
75
+ flags : [" -K scanner" ]
76
+ allow-failure : [' false' ]
77
77
include :
78
78
# Linux root tests
79
79
- os : ubuntu-20.04
80
80
python : " 2.7"
81
81
mode : root
82
- allow-failure : false
82
+ flags : " -K scanner "
83
83
- os : ubuntu-latest
84
84
python : " 3.10"
85
85
mode : root
86
- allow-failure : false
86
+ flags : " -K scanner "
87
87
# PyPy tests: root only
88
88
- os : ubuntu-20.04
89
89
python : " pypy2.7"
90
90
mode : root
91
- allow-failure : false
92
91
flags : " -K scanner"
93
92
- os : ubuntu-latest
94
93
python : " pypy3.9"
95
94
mode : root
96
- allow-failure : false
97
95
flags : " -K scanner"
98
96
# Libpcap test
99
97
- os : ubuntu-latest
100
98
python : " 3.10"
101
99
mode : root
102
100
installmode : ' libpcap'
103
- allow-failure : false
101
+ flags : " -K scanner "
104
102
# MacOS tests
105
103
- os : macos-12
106
104
python : " 2.7"
107
105
mode : both
108
- allow-failure : false
106
+ flags : " -K scanner "
109
107
- os : macos-12
110
108
python : " 3.10"
111
109
mode : both
112
- allow-failure : false
110
+ flags : " -K scanner "
113
111
# Scanner tests
112
+ - os : ubuntu-20.04
113
+ python : " 2.7"
114
+ mode : root
115
+ allow-failure : ' true'
116
+ flags : " -k scanner"
117
+ - os : ubuntu-latest
118
+ python : " 3.10"
119
+ mode : root
120
+ allow-failure : ' true'
121
+ flags : " -k scanner"
114
122
- os : ubuntu-20.04
115
123
python : " pypy2.7"
116
124
mode : root
117
- allow-failure : true
125
+ allow-failure : ' true'
118
126
flags : " -k scanner"
119
127
- os : ubuntu-latest
120
128
python : " pypy3.9"
121
129
mode : root
122
- allow-failure : true
130
+ allow-failure : ' true'
123
131
flags : " -k scanner"
124
132
- os : macos-12
125
133
python : " 3.10"
126
134
mode : both
127
- allow-failure : true
135
+ allow-failure : ' true'
128
136
flags : " -k scanner"
129
137
steps :
130
138
- name : Checkout Scapy
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ def pre_execute(self,
201
201
202
202
def execute (self , socket , state , ** kwargs ):
203
203
# type: (_SocketUnion, EcuState, Any) -> None
204
- kwargs = self .__current_kwargs or dict ()
204
+ kwargs . update ( self .__current_kwargs or dict () )
205
205
self .current_test_case .execute (socket , state , ** kwargs )
206
206
207
207
def post_execute (self ,
You can’t perform that action at this time.
0 commit comments