From 053491b560d2c4e374bb739373d8ae25c41f6315 Mon Sep 17 00:00:00 2001 From: Craig Hesling Date: Mon, 1 Jul 2019 18:10:37 -0700 Subject: Improve unit test and fuzzer documentation story * Update **test** directory description to README.md. * Add ** fuzz** directory description to README.md. * Add unit test and fuzzer make targets to `make help` * Change showboards to print-boards to be more consistent * Change showboards to use auto pretty print * Add print-tests, print-host-tests, and print-host-fuzzers This is necessary to remove the ambiguity about what a special name is for a given unit test. Documentation Story: The idea is to give a brief overview of what the test and fuzz directories are in README.md. README.md also mentions you should see `make help` for more detail. Running `make help` shows you more general test/fuzz commands, including the print-* commands. Running the print-* commands show you exact target names for all possible unit/fuzz test (both the build-only and run target names). BRANCH=none BUG=none TEST=make help TEST=make print-tests TEST=make print-host-tests TEST=make print-host-fuzzers TEST=make print-host-fuzzers | cat TEST=make print-boards TEST=make print-boards | cat TEST=make buildall -j Change-Id: I34b68196ac635ba71a1d45ceb5d35a3b36fd129f Signed-off-by: Craig Hesling Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1684714 Reviewed-by: Aseda Aboagye Reviewed-by: Daisuke Nojiri --- test/build.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') diff --git a/test/build.mk b/test/build.mk index 1e164e798c..ba57220e29 100644 --- a/test/build.mk +++ b/test/build.mk @@ -2,10 +2,8 @@ # Copyright 2013 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -# -# on-board test binaries build -# +# Device test binaries test-list-y ?= pingpong timer_calib timer_dos timer_jump mutex utils utils_str #disable: powerdemo -- cgit v1.2.1