All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] Improve/fix tests for commands and trace
@ 2014-06-05 18:27 Simon Glass
  2014-06-05 18:27 ` [U-Boot] [PATCH 1/4] Reactivate the tracing feature Simon Glass
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Simon Glass @ 2014-06-05 18:27 UTC (permalink / raw)
  To: u-boot

A recent bug reported showed that the built-in CLI was not correctly
handling repeatable commands. A recent series fixes this.

http://patchwork.ozlabs.org/patch/356568/
http://patchwork.ozlabs.org/patch/356569/
http://patchwork.ozlabs.org/patch/356507/

Add a simple test for this. At present we require sandbox's config
to be changed to use the hush or the simple parser. In the fullness of
time when the parser code allows both to be compiled in, we may be able
to adjust the test to do both tests.

In order to make this work, we need to skip Ctrl-C in sandbox, so add a
CONFIG option and environment variable to deal with this.

The trace test is broken due a change done as part of the Kbuild work, so
rename that also.


Simon Glass (4):
  Reactivate the tracing feature
  Add ctrlc_ignore environment variable to ignore Ctrl-C
  test: Remove tabs from trace test
  test: Add a test for command repeat

 README                    |  3 +++
 common/console.c          | 28 ++++++++++++++++++++++------
 config.mk                 |  4 ++++
 include/configs/sandbox.h |  1 +
 include/env_callback.h    |  7 +++++++
 test/cmd_repeat.sh        | 29 +++++++++++++++++++++++++++++
 test/common.sh            | 20 ++++++++++++++++++++
 test/trace/test-trace.sh  | 42 ++++++++++++++----------------------------
 8 files changed, 100 insertions(+), 34 deletions(-)
 create mode 100755 test/cmd_repeat.sh
 create mode 100644 test/common.sh

-- 
2.0.0.526.g5318336

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-06-14 20:34 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-05 18:27 [U-Boot] [PATCH 0/4] Improve/fix tests for commands and trace Simon Glass
2014-06-05 18:27 ` [U-Boot] [PATCH 1/4] Reactivate the tracing feature Simon Glass
2014-06-10  4:47   ` Masahiro Yamada
2014-06-12  3:42     ` Simon Glass
2014-06-12  3:50       ` Simon Glass
2014-06-13  2:56         ` Masahiro Yamada
2014-06-14 20:34           ` Simon Glass
2014-06-13  2:56       ` Masahiro Yamada
2014-06-05 18:27 ` [U-Boot] [PATCH 2/4] Add ctrlc_ignore environment variable to ignore Ctrl-C Simon Glass
2014-06-05 21:43   ` Wolfgang Denk
2014-06-06 20:01     ` Simon Glass
2014-06-06 22:10       ` Wolfgang Denk
2014-06-08  4:01         ` Simon Glass
2014-06-10  5:08           ` Wolfgang Denk
2014-06-12  4:35             ` Simon Glass
2014-06-12  5:03               ` Wolfgang Denk
2014-06-12  5:36                 ` Simon Glass
2014-06-12  6:22                   ` Wolfgang Denk
2014-06-05 18:27 ` [U-Boot] [PATCH 3/4] test: Remove tabs from trace test Simon Glass
2014-06-05 18:27 ` [U-Boot] [PATCH 4/4] test: Add a test for command repeat Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.