diff options
| author | Ryan <fauxpark@gmail.com> | 2021-06-27 02:29:02 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-27 02:29:02 +1000 |
| commit | bbe43a91ebf193bbc8c09ba59209b0524367e68c (patch) | |
| tree | b4b1cac772b2601154153a39d2173334cdf363d9 /lib/python/qmk/tests | |
| parent | 546f5f2c4f38a4abf934e3df84985feca61f90c7 (diff) | |
| download | qmk_firmware-bbe43a91ebf193bbc8c09ba59209b0524367e68c.tar.gz qmk_firmware-bbe43a91ebf193bbc8c09ba59209b0524367e68c.zip | |
CLI: Add subcommand to generate version.h (#13151)
Diffstat (limited to 'lib/python/qmk/tests')
| -rw-r--r-- | lib/python/qmk/tests/test_cli_commands.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/qmk/tests/test_cli_commands.py b/lib/python/qmk/tests/test_cli_commands.py index afdbc8142..b341e1c91 100644 --- a/lib/python/qmk/tests/test_cli_commands.py +++ b/lib/python/qmk/tests/test_cli_commands.py | |||
| @@ -258,6 +258,12 @@ def test_generate_rules_mk(): | |||
| 258 | assert 'MCU ?= atmega32u4' in result.stdout | 258 | assert 'MCU ?= atmega32u4' in result.stdout |
| 259 | 259 | ||
| 260 | 260 | ||
| 261 | def test_generate_version_h(): | ||
| 262 | result = check_subcommand('generate-version-h') | ||
| 263 | check_returncode(result) | ||
| 264 | assert '#define QMK_VERSION' in result.stdout | ||
| 265 | |||
| 266 | |||
| 261 | def test_generate_layouts(): | 267 | def test_generate_layouts(): |
| 262 | result = check_subcommand('generate-layouts', '-kb', 'handwired/pytest/basic') | 268 | result = check_subcommand('generate-layouts', '-kb', 'handwired/pytest/basic') |
| 263 | check_returncode(result) | 269 | check_returncode(result) |
