Commit Graph

75 Commits (5f23dde55875e287ba6e194e70316767d66e13fc)

Author SHA1 Message Date
Michael Richters 9b04d6663c
Run IWYU (with the new tools) on test simulator code
3 years ago
Michael Richters 5cee5d7d2a
Use `Runtime.*` instead of `Kaleidoscope.*` in SimHarness.cpp
3 years ago
Michael Richters 8477d8e0d2
Use the new Model01 hardware plugin directly for testing
3 years ago
Michael Richters 97b5de717a
Send ktest-to-cxx info output to stdout instead of stderr
3 years ago
Michael Richters bccfad592c
Allow colored output when using `make --output-sync`
3 years ago
Jesse Vincent 430b5bac53
Try to cache the files Arduino downloads
3 years ago
Jesse Vincent fbbead928b
Don't interleave output from test suite when running under gmake4 or
3 years ago
Jesse Vincent b83604d37e
Fix some dependency errors in test makefile rules that could cause
3 years ago
Jesse Vincent 572d772a8e
Quiet down making the ktestfile.
3 years ago
Jesse Vincent 25eadfd0a6
Stop printing size information when running simulator tests
3 years ago
Michael Richters e5d67efd58
Format codebase with `clang-format`
3 years ago
Jesse Vincent 372adb58c1
testing/makefiles/delegate.mk was a no-op
3 years ago
Jesse Vincent dbeed3c767
Apply some of our makefile optimization techniques to the test suite
3 years ago
Michael Richters f9b9c27852
Add mouse report handling to ktest
3 years ago
Michael Richters 29ebffe099
Add function for verification of expected mouse reports
3 years ago
Michael Richters 0670113b66
Move checking of keyboard reports to a separate function
3 years ago
Michael Richters e87306144e
Add MouseReports to HIDState for testing
3 years ago
Michael Richters e8c84a0e47
Add MouseReport class for testing
3 years ago
Michael Richters 72c2e0fe27
Rename *Report functions to *KeyboardReport
3 years ago
Michael Richters 381b05e10f
Add DELAY command for ktest scripts
3 years ago
Florian Bruhin 231ebad36f Update embedded googletest to 1.11.0
3 years ago
Michael Richters 53093ee5b9
Fix trailing comments on ktest `PRESS` & `RELEASE` lines
4 years ago
Michael Richters 86cc2c66a7
Suppress warnings when expecting no report without comment
4 years ago
Michael Richters 1a5934ef61
Add the plugins dir to includes for testcases
4 years ago
Jesse Vincent 8405dd0641
Add some support for logging the source line in ktest files
4 years ago
Jesse Vincent 72a8ba2935
fix up testing for the new plugin layout
4 years ago
Jesse Vincent c5ac087390
Add the ability to have "TODO" test sections that gtest interprets as 'DISABLED'
4 years ago
Jesse Vincent b05a8e8c5f
astyle
4 years ago
Jesse Vincent dfb710f705
Move key def sections into a subdirectory to make the codebase a bit cleaner.
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 aaa9603d72
Update gitignore files to ignore .arduino and to stop ignoring testing/bin
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