Commit Graph

18 Commits

Author SHA1 Message Date
Peter Johanson 3eb3548a00 refactor(tests): Use GH Actions matrix for tests.
* To parallelize our tests, generate a dynamic matrix
  of tests to run.
2022-04-04 23:36:51 -04:00
Peter Johanson 953f5212a8 refactor(tests): Move to native_posix_64 target.
* Allows removing multilib from docker images
* Run properly in aarch64 host docker
  containers for testing on Rasberry Pi.
* Small sticky-keys fix to initialize w/ correct
  constant for max uin32_t value.
2022-04-03 00:10:29 -04:00
okke f692d64d05 test: print test output immediately and decrease indenting 2022-01-04 23:59:25 -05:00
okke d59797ba13 test: Change length of fail and pend messages
This makes scanning the output from "west test" easier, as the different states get different output lengths.
2022-01-04 23:59:25 -05:00
Peter Johanson 977746dbde feat(tests): Override test parallelism w/ `J=8` environment. 2021-05-05 00:56:05 -04:00
Jeff Rizzo c0cab57c2d run-test.sh: use the POSIX '-L 1' for xargs
This allows tests to be run on platforms where '-l'
isn't implemented, like MacOS.
2021-01-23 18:32:18 -05:00
innovaker f17584ca0e chore: standardize # style headers
Changes made with regex plus some manual tweaks.

Find:
/(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm

Replace:
# Copyright (c) $1 $2
# SPDX-License-Identifier: $3

PR: #564
2021-01-06 17:00:44 -05:00
innovaker 95a2927098 fix(tests): convert ZMK_CONFIG to an absolute path
Zephyr 2.4.0 requires ...
  set(DTS_ROOT)
  list(APPEND DTS_ROOT)
... to use absolute paths.
And therefore ZMK_CONFIG as well.

See: zephyrproject-rtos/zephyr#28180
PR: #467
2020-12-14 12:41:25 -05:00
Okke Formsma db10931439 fix(tests): fix testrunner for 'all' 2020-11-23 15:57:55 -05:00
Okke Formsma 2f1170c01a feat(tests): run subdirectory of tests
example: `west test tests/hold-tap` will run all hold-tap tests.
2020-11-22 10:03:56 -05:00
Cody McGinnis f6269df5fc fix(tests): return error code when build fails 2020-09-14 10:34:05 -04:00
Pete Johanson 68e72f9275 fix: Switch to single AUTHORS file.* Closes #164 2020-09-10 10:24:23 -04:00
Cody McGinnis 80bef160fc feat(tests): allow tests to be marked as pending
pending tests will not fail the build
2020-08-28 16:28:49 -04:00
Cody McGinnis b1d9a7b684 feat(test): record full key log as well 2020-08-28 16:21:31 -04:00
Cody McGinnis aff39e57d0 fix: add license header to run-test.sh 2020-08-28 16:21:31 -04:00
Cody McGinnis 79bff11ddd fancier run test stuff 2020-08-28 16:21:31 -04:00
Cody McGinnis f1224422c5 fix(test): stop using pristine and use 4 threads 2020-08-28 16:21:31 -04:00
Cody McGinnis f02fa01e9a fix(test): change the layout 2020-08-28 16:21:31 -04:00