diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-05-22 00:13:32 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-05-22 00:13:32 -0400 |
commit | b6d300361b82a478d83c8cccf7ea810fec601e59 (patch) | |
tree | b9e30363154091961f062a5ed535cf406ea0d4ea /tools/testing | |
parent | 2e109526225a560ef49d49a3bbae62f5cf3ad806 (diff) |
ktest: Add the snowball.conf example config
I used the snowball.conf in a live demo that demonstrated how to use
ktest.pl with a snowball ARM board. I've been asked to included that
config in the ktest repository.
Here it is.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/ktest/examples/snowball.conf | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tools/testing/ktest/examples/snowball.conf b/tools/testing/ktest/examples/snowball.conf new file mode 100644 index 000000000000..a82a3c5bc2b7 --- /dev/null +++ b/tools/testing/ktest/examples/snowball.conf | |||
@@ -0,0 +1,53 @@ | |||
1 | # This example was used to boot the snowball ARM board. | ||
2 | # See http://people.redhat.com/srostedt/ktest-embedded-2012/ | ||
3 | |||
4 | # PWD is a ktest.pl variable that will result in the process working | ||
5 | # directory that ktest.pl is executed in. | ||
6 | |||
7 | # THIS_DIR is automatically assigned the PWD of the path that generated | ||
8 | # the config file. It is best to use this variable when assigning other | ||
9 | # directory paths within this directory. This allows you to easily | ||
10 | # move the test cases to other locations or to other machines. | ||
11 | # | ||
12 | THIS_DIR := /home/rostedt/work/demo/ktest-embed | ||
13 | LOG_FILE = ${OUTPUT_DIR}/snowball.log | ||
14 | CLEAR_LOG = 1 | ||
15 | MAKE_CMD = PATH=/usr/local/gcc-4.5.2-nolibc/arm-unknown-linux-gnueabi/bin:$PATH CROSS_COMPILE=arm-unknown-linux-gnueabi- make ARCH=arm | ||
16 | ADD_CONFIG = ${THIS_DIR}/addconfig | ||
17 | |||
18 | SCP_TO_TARGET = echo "don't do scp" | ||
19 | |||
20 | TFTPBOOT := /var/lib/tftpboot | ||
21 | TFTPDEF := ${TFTPBOOT}/snowball-default | ||
22 | TFTPTEST := ${OUTPUT_DIR}/${BUILD_TARGET} | ||
23 | |||
24 | SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE} | ||
25 | SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE} | ||
26 | |||
27 | # Define each test with TEST_START | ||
28 | # The config options below it will override the defaults | ||
29 | TEST_START SKIP | ||
30 | TEST_TYPE = boot | ||
31 | BUILD_TYPE = u8500_defconfig | ||
32 | BUILD_NOCLEAN = 1 | ||
33 | |||
34 | TEST_START | ||
35 | TEST_TYPE = make_min_config | ||
36 | OUTPUT_MIN_CONFIG = ${THIS_DIR}/config.newmin | ||
37 | START_MIN_CONFIG = ${THIS_DIR}/config.orig | ||
38 | IGNORE_CONFIG = ${THIS_DIR}/config.ignore | ||
39 | BUILD_NOCLEAN = 1 | ||
40 | |||
41 | |||
42 | DEFAULTS | ||
43 | LOCALVERSION = -test | ||
44 | POWER_CYCLE = echo use the thumb luke; read a | ||
45 | CONSOLE = cat ${THIS_DIR}/snowball-cat | ||
46 | REBOOT_TYPE = script | ||
47 | SSH_USER = root | ||
48 | BUILD_OPTIONS = -j8 uImage | ||
49 | BUILD_DIR = ${THIS_DIR}/linux.git | ||
50 | OUTPUT_DIR = ${THIS_DIR}/snowball-build | ||
51 | MACHINE = snowball | ||
52 | TARGET_IMAGE = /var/lib/tftpboot/snowball-image | ||
53 | BUILD_TARGET = arch/arm/boot/uImage | ||