Commit Graph

53 Commits (ac476202cf171586442aaea582d329877973cf81)

Author SHA1 Message Date
Jesse Vincent ba3721187b
Tease apart sketch and Kaleidoscope makefiles
4 years ago
Jesse Vincent 4c3021995a
attempt to make simulator tests build again
4 years ago
Jesse Vincent d7cf811b00
finish removing "BOARD_HARDWARE_PATH"
4 years ago
Jesse Vincent ea068cc72c
more work excising BOARD_HARDWARE_PATH
4 years ago
Jesse Vincent 4111d535a3
remove an extra include
4 years ago
Jesse Vincent 9677426b82
start moving to the new makefile, bundled inside Kaleidoscope
4 years ago
Jesse Vincent ee16e7d610
switch the sim to use the new build system
4 years ago
Jesse Vincent fd7a9dcb1e
remove build-all, now that we no longer need it
4 years ago
Jesse Vincent 142f9ed6a3
make the use of build-all explicit. Even if we do need it to go away
4 years ago
Jesse Vincent ea0a0c3dd6
try a hacky workaround for the fact that arduino-cli doesn't seem to let us put doublequotes in build-props
4 years ago
Michael Richters c53bcae849
Make ktest match for "keyswitch" token non-greedy
4 years ago
Michael Richters 20a380aa3f
Generate expected report check unconditionally
4 years ago
Jesse Vincent b0902f35da
Add a "generate-testcases" target to make -C tests
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
4 years ago
Jesse Vincent cd211efa24
Remove generated testcases when running make clean
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
4 years ago
Michael Richters 3160edfd8c
Improve report verification in testing
4 years ago
Jesse Vincent 1b061fe27f
We no longer use that HIDAdaptor
4 years ago
Jesse Vincent cd2698d701
Port Redial tests to ktest. Add a couple ktest features to support that
4 years ago
Jesse Vincent fde137509b
Add a pseudo-test that shows off the name of the test source file for generated tests
4 years ago
Jesse Vincent 2dd247dae8
Improve parsing of comments without spaces after the #
4 years ago
Jesse Vincent 7e5b05e447
There's no real need to vary the generated test
4 years ago
Jesse Vincent 533b6da571
Little bits of refactoring to the ktest parser
4 years ago
Jesse Vincent 4517ff7c0e
Add a first version of a Kaleidoscope testing DSL.
4 years ago
Jesse Vincent d8b674f4dc
Small error in my cherry-picking.
4 years ago
Jesse Vincent 072892111e
Extract expected report validation. I'm very much not proud of the
4 years ago
Jesse Vincent eebf8e639b
Add a variant of ExpectReport that takes an explicit list of keycodes
4 years ago
Michael Richters 78e9ec4291
Add event queue functions to testing infrastructure
4 years ago
Michael Richters 0473094d4e
Add timestamps to simulator HID report classes
4 years ago
Michael Richters 470363f893
Whitespace only, for readability
4 years ago
Michael Richters bc14df9f8b
Follow naming convention for private member variables
4 years ago
Michael Richters 371ba30ed3
Make SimHarness::CycleTime() const correct
4 years ago
Gergely Nagy 835c332303
testing: Do not ignore the return value of RUN_ALL_TESTS
4 years ago
Gergely Nagy 518989ba57
Merge pull request #944 from keyboardio/standardize-key-report-names
4 years ago
Jesse Vincent 7f6d09c15b
Merge pull request #948 from gedankenexperimenter/t/keyboard-hid-modifiers
4 years ago
Jesse Vincent 820560f77c
Change the target the test suite uses when compiling sketches to avoid duplicate compilation
4 years ago
Michael Richters 2207c3f4f8
Add modifier information to KeyboardReport class
4 years ago
Jesse Vincent 9ec11f1b4b
Force compilation of sketches in the simulator.
4 years ago
Jesse Vincent a646261982
Add SetCycleTime and CycleTime to control how many ms each cycle take.
4 years ago
Jesse Vincent b5c744a7cf
Move RunForMillis.cpp to the .cpp file.
4 years ago
Michael Richters 76a48e0a12
Add `RunFor*` variants for `Cycles` and `Millis` functions
4 years ago
Michael Richters 69fc1dc0e2
Add `SimHarness.RunMillis(t)` function
4 years ago
Michael Richters 39f0bbe159
Add KeyAddr versions of Press() & Release() to the simulator
4 years ago
Jesse Vincent 51d48245ad
Switch ConsumerControlReport and SystemControlReport to use ActiveKeycodes and ActiveKeycode respectively, to match Keyboard.
4 years ago
Gergely Nagy 6bc8c4e243
testing/makefiles: Respect the VERBOSE environment variable
4 years ago
Gergely Nagy 30eca52dce
testing/setup-googletest.h: Explicitly ignore the result of RUN_ALL_TESTS
4 years ago
Gergely Nagy 9319cc1099
testing: Build and run the tests separately
4 years ago
Gergely Nagy 68730e4911
testing/fix-macros.h: Improve the comment on the top of the file
4 years ago
Gergely Nagy 802d2087d2
testing/makefiles/testcase.mk: Make it work without BOARD_HARDWARE_PATH
4 years ago