diff options
| author | eZio Pan <[email protected]> | 2024-03-21 16:06:34 +0800 |
|---|---|---|
| committer | eZio Pan <[email protected]> | 2024-03-23 09:15:25 +0800 |
| commit | 0d065ab2d658ebfad0c6e4bba562e474d6ca1012 (patch) | |
| tree | b72d8798c8bbd0c5327a41b2cdb55d39082a58ac /tests/stm32/gen_test.py | |
| parent | c42d9f9eaae546faae46c4d1121f1fbc393c2073 (diff) | |
stm32 CORDIC: add HIL test
Diffstat (limited to 'tests/stm32/gen_test.py')
| -rw-r--r-- | tests/stm32/gen_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stm32/gen_test.py b/tests/stm32/gen_test.py index 8ff156c0e..daf714376 100644 --- a/tests/stm32/gen_test.py +++ b/tests/stm32/gen_test.py | |||
| @@ -14,7 +14,7 @@ for f in sorted(glob('./src/bin/*.rs')): | |||
| 14 | with open(f, 'r') as f: | 14 | with open(f, 'r') as f: |
| 15 | for line in f: | 15 | for line in f: |
| 16 | if line.startswith('// required-features:'): | 16 | if line.startswith('// required-features:'): |
| 17 | features = line.split(':', 2)[1].strip().split(',') | 17 | features = [feature.strip() for feature in line.split(':', 2)[1].strip().split(',')] |
| 18 | 18 | ||
| 19 | tests[name] = features | 19 | tests[name] = features |
| 20 | 20 | ||
