Jesse Vincent
780edea8b0
Merge pull request #936 from keyboardio/f/arduino-cli
...
Switch us over from arduino-builder to arduino-cli
4 years ago
Jesse Vincent
c6f487d98c
parallelize testing
4 years ago
Jesse Vincent
16d918247a
Add a note about the new feature to UPGRADING
4 years ago
Jesse Vincent
3e54120f36
Add a deprecation warning to the "old" kaleidoscope-builder
4 years ago
Jesse Vincent
41a3c5da38
Update README for new build and setup instructions
4 years ago
Jesse Vincent
4c538f13ea
update classic Atreus docs for the arduino-cli world
4 years ago
Jesse Vincent
f53a82692f
Update Github Actions CI for new arduino-cli build system
4 years ago
Jesse Vincent
0089398a46
Update travis config for the new world order
4 years ago
Jesse Vincent
8f604facd9
Update our docker config to use a layout that better matches arduino-cli
4 years ago
Jesse Vincent
80c00d5e24
Update example and testing sketches to use new makefiles
4 years ago
Jesse Vincent
6ef1570964
Improve dependency tracking, cleanup and presentation in test Makefiles.
4 years ago
Jesse Vincent
61f8fc5456
Rename test sketches to match directory names
...
In the arduino world, all sketches need to be in directories whose names match the sketch names.
4 years ago
Jesse Vincent
d6bd14581c
Add a sketch.json for each of the current examples and tests
...
Arduino-cli uses a simple sketch.json file to set the FQBN for a sketch. This replaces most use cases for kaleidoscope-builder
4 years ago
Jesse Vincent
d94c3d5234
Replace kaleidoscope-builder with makefiles using arduino-cli
...
This is a complete rework of how Kaleidoscope is built, but should be largely transparent to most developers and completely invisible to folks using the Arduino IDE.
Some advanced features of kaleidoscope-builder config files have gone away, but it’s likely that @algernon was the only person using them. The tradeoff is that we’re now using a much better maintained build tool under the hood and that we’re no longer as tied to a single specific directory structure.
4 years ago
Jesse Vincent
aaa9603d72
Update gitignore files to ignore .arduino and to stop ignoring testing/bin
4 years ago
Jesse Vincent
ef244715a5
try again with shellcheck
4 years ago
Jesse Vincent
9b208d5cd3
Accidentally butchered my cut command
4 years ago
Jesse Vincent
4536fd5190
appease shellcheck
4 years ago
Jesse Vincent
6115305615
try to run the makefile from inside sphinx, which is hacky
4 years ago
Jesse Vincent
cdba38c762
add a title to the testing docs
4 years ago
Jesse Vincent
047a5b7c04
first pass at getting our examples into readthedocs
4 years ago
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