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) |
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 afdbc81429..b341e1c912 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(): assert 'MCU ?= atmega32u4' in result.stdout +def test_generate_version_h(): + result = check_subcommand('generate-version-h') + check_returncode(result) + assert '#define QMK_VERSION' in result.stdout + + def test_generate_layouts(): result = check_subcommand('generate-layouts', '-kb', 'handwired/pytest/basic') check_returncode(result) |