Jesse Vincent
c8d53d2348
remove historical dangling bits from the quick start guide
...
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
4 years ago
Jesse Vincent
7a7e969517
Merge pull request #987 from gedankenexperimenter/t/redial.rollover
...
Add testcases for Redial with rollover
4 years ago
Michael Richters
46736361b8
Add testcases for Redial with rollover
...
I also simplified the Redial test suite sketch to make it easier to read.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
10ebb0c942
Merge pull request #986 from gedankenexperimenter/t/plugins.basic-testcases
...
Add some basic plugin testcases
4 years ago
Michael Richters
c1d8f3b9c0
Add basic TapDance testcases
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
0c03d19c64
Add basic ShapeShifter testcases
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
9f18e65ce4
Add basic TopsyTurvy testcases
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
40cc6a290e
Add basic MagicCombo testcase
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
56cafeb9fd
Add basic Escape-OneShot testcases
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
6858c0b030
Add basic OneShot testcases
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
0ccc3dcde0
Explicitly expect no key reports on issue 987 test
4 years ago
Jesse Vincent
404bb4f3e8
Merge pull request #981 from gedankenexperimenter/b/ktest.token-separation
...
Make ktest match for "keyswitch" token non-greedy
4 years ago
Michael Richters
c53bcae849
Make ktest match for "keyswitch" token non-greedy
...
The greedy match was including whitespace if more than one space character
separated the "keyswitch" token and the first coordinate.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
79561f6921
Merge pull request #979 from gedankenexperimenter/b/simulator.issue-978
...
Suppress idle keyswitch events from virtual hardware device
4 years ago
Michael Richters
a393f4778e
Suppress idle keyswitch events from virtual hardware device
...
The virtual hardware device, unlike others, was calling `handleKeyswitchEvent()`
for every keyswitch, every cycle. It should suppress calls corresponding to idle
keyswitches, just like the other devices.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
2b6e6f437c
Add testcase for idle key events in simulator
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
20a380aa3f
Generate expected report check unconditionally
...
Even if a testcase shouldn't generate any HID reports, we should verify that it
didn't. If it does generate a report when there are none expected, that test
should fail.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
81b8582eda
Merge pull request #977 from PedroDiogo/PedroDiogo-tapdance-doc-update
...
Update TapDance documentation
4 years ago
Pedro Diogo
8b9db57957
Update TapDance documentation
...
The code example was using an outdated header for `tapDanceAction` that used `row` and `col`.
Updated to use `key_addr` instead.
Solution found in this forum reply: https://community.keyboard.io/t/status-of-using-tapdance-with-chrysalis/4143/5
Signed-off-by: Pedro Diogo <158898+PedroDiogo@users.noreply.github.com>
4 years ago
Jesse Vincent
a61765e630
Exit from the testing loop with an error in case of failed test.
...
Fixes #974
4 years ago
Jesse Vincent
4ca0e94af9
Don't pass TEST_PATH to docker unless it's set
4 years ago
Jesse Vincent
b0902f35da
Add a "generate-testcases" target to make -C tests
...
Make ktest regeneration use a little bit more of Make's smarts.
Fixed #973
4 years ago
Jesse Vincent
51fd6be466
target to generate given testcase
4 years ago
Jesse Vincent
aafd594183
Make it possible to run a single testcase's makefile without being called from above
...
by setting topdir if it's not set
4 years ago
Jesse Vincent
b2e899429f
'make clean' fixes
4 years ago
Jesse Vincent
6829f3497b
ignore artifacts from the new arduino-cli branch
4 years ago
Jesse Vincent
cd211efa24
Remove generated testcases when running make clean
...
Fixes #976
4 years ago
Jesse Vincent
8c13d25cc3
Don't try to add the generated testcase to the list of possible test files if it already exists
...
Fixes #975
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
4 years ago
Jesse Vincent
0dc3861f3a
Merge pull request #972 from gedankenexperimenter/f/testing.CheckReports
...
Improve report verification in testing
4 years ago
Michael Richters
e1166b5ebd
Fix issue #970 testcase
...
The timing of expected reports was off slightly in two places.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
3160edfd8c
Improve report verification in testing
...
This replaces the `CHECK_EXPECTED_REPORTS()` macro with a new `CheckReports()`
method. The new method verifies both the content and timestamps of expected
keyboard reports, and provides more output on failures (including details of any
unexpected reports).
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
a6b4b12343
We use git, not got
4 years ago
Jesse Vincent
c5612c979b
Make the github actions clone of the required bundle repo quiet.
4 years ago
Jesse Vincent
475cc0fc12
Merge pull request #971 from gedankenexperimenter/b/qukeys.issue-970
...
Fix Qukeys minimum prior interval error
4 years ago
Jesse Vincent
0f9fc0b4be
make our github actions run on pull requests, too
4 years ago
Michael Richters
0d788bb718
Fix Qukeys minimum prior interval problem
...
The code for guarding against integer overflow on the prior interval timestamp
was in the wrong place, and wouldn't get executed on cycles when the keyboard
was idle, leading to a very slim chance of getting the wrong qukey value if all
keys were idle long enough (65 seconds).
Also fixed the same problem in the first quarter-second after the keyboard power
on. Not likely to ever be observed, but costs nothing extra to fix.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
9e1aaac3d8
Convert issue #970 testcase to ktest
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
ae0a9975b6
Add testcase for issue #970
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Michael Richters
33618fb088
Update Qukeys basic testcase for issue #970
...
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
6bd1f81ea0
Try to make the travis ramdisk setup tool a bit shellcheck friendlier
4 years ago
Jesse Vincent
d9a4d1bc2c
First pass at a GitHub Action workflow
4 years ago
Jesse Vincent
4c421277a7
make a comment in run-docker shellcheck friendlier
4 years ago
Jesse Vincent
395f8ac992
temp workaround for test failures
4 years ago
Jesse Vincent
1b061fe27f
We no longer use that HIDAdaptor
4 years ago
Jesse Vincent
a8dead14e5
Merge pull request #969 from keyboardio/revert-921-atreus-key-macros-fix
...
Revert "Fix key macros"
4 years ago
Jesse Vincent
268af21836
Revert "Fix key macros"
4 years ago
Jesse Vincent
bc7de50fd8
Merge pull request #921 from WildlyManifest/atreus-key-macros-fix
...
Fix key macros for the Atreus v1
4 years ago
Jesse Vincent
edb218a826
Merge pull request #929 from gedankenexperimenter/qukeys-rollover-925
...
Improve Qukeys protection against unintended modifiers
4 years ago
Jesse Vincent
cf8021e1f8
Merge pull request #684 from gedankenexperimenter/bug/qukeys-rollover-682
...
Prevent rollover to a qukey from causing unintended repeats
4 years ago
Jesse Vincent
cd2698d701
Port Redial tests to ktest. Add a couple ktest features to support that
4 years ago