sample.conf (9cc9e091ed4c70535309dd9336a5ea5c2c5920aa) | sample.conf (d36b691077dc59c74efec0d54ed21b86f7a2a21a) |
---|---|
1# 2# Config file for ktest.pl 3# 4# Note, all paths must be absolute 5# 6 7# Options set in the beginning of the file are considered to be 8# default options. These options can be overriden by test specific --- 454 unchanged lines hidden (view full) --- 463# and select that target to reboot to the kernel. If this is not 464# your setup, then specify "script" and have a command or script 465# specified in REBOOT_SCRIPT to boot to the target. 466# 467# The entry in /boot/grub/menu.lst must be entered in manually. 468# The test will not modify that file. 469#REBOOT_TYPE = grub 470 | 1# 2# Config file for ktest.pl 3# 4# Note, all paths must be absolute 5# 6 7# Options set in the beginning of the file are considered to be 8# default options. These options can be overriden by test specific --- 454 unchanged lines hidden (view full) --- 463# and select that target to reboot to the kernel. If this is not 464# your setup, then specify "script" and have a command or script 465# specified in REBOOT_SCRIPT to boot to the target. 466# 467# The entry in /boot/grub/menu.lst must be entered in manually. 468# The test will not modify that file. 469#REBOOT_TYPE = grub 470 |
471# If you are using a machine that doesn't boot with grub, and 472# perhaps gets its kernel from a remote server (tftp), then 473# you can use this option to update the target image with the 474# test image. 475# 476# You could also do the same with POST_INSTALL, but the difference 477# between that option and this option is that POST_INSTALL runs 478# after the install, where this one runs just before a reboot. 479# (default undefined) 480#SWITCH_TO_TEST = cp ${OUTPUT_DIR}/${BUILD_TARGET} ${TARGET_IMAGE} 481 482# If you are using a machine that doesn't boot with grub, and 483# perhaps gets its kernel from a remote server (tftp), then 484# you can use this option to update the target image with the 485# the known good image to reboot safely back into. 486# 487# This option holds a command that will execute before needing 488# to reboot to a good known image. 489# (default undefined) 490#SWITCH_TO_GOOD = ssh ${SSH_USER}/${MACHINE} cp good_image ${TARGET_IMAGE} 491 | |
492# The min config that is needed to build for the machine 493# A nice way to create this is with the following: 494# 495# $ ssh target 496# $ lsmod > mymods 497# $ scp mymods host:/tmp 498# $ exit 499# $ cd linux.git --- 105 unchanged lines hidden (view full) --- 605#DIE_ON_FAILURE = 1 606 607# Directory to store failure directories on failure. If this is not 608# set, DIE_ON_FAILURE=0 will not save off the .config, dmesg and 609# bootlog. This option is ignored if DIE_ON_FAILURE is not set. 610# (default undefined) 611#STORE_FAILURES = /home/test/failures 612 | 471# The min config that is needed to build for the machine 472# A nice way to create this is with the following: 473# 474# $ ssh target 475# $ lsmod > mymods 476# $ scp mymods host:/tmp 477# $ exit 478# $ cd linux.git --- 105 unchanged lines hidden (view full) --- 584#DIE_ON_FAILURE = 1 585 586# Directory to store failure directories on failure. If this is not 587# set, DIE_ON_FAILURE=0 will not save off the .config, dmesg and 588# bootlog. This option is ignored if DIE_ON_FAILURE is not set. 589# (default undefined) 590#STORE_FAILURES = /home/test/failures 591 |
613# Directory to store success directories on success. If this is not 614# set, the .config, dmesg and bootlog will not be saved if a 615# test succeeds. 616# (default undefined) 617#STORE_SUCCESSES = /home/test/successes 618 | |
619# Build without doing a make mrproper, or removing .config 620# (default 0) 621#BUILD_NOCLEAN = 0 622 623# As the test reads the console, after it hits the SUCCESS_LINE 624# the time it waits for the monitor to settle down between reads 625# can usually be lowered. 626# (in seconds) (default 1) --- 95 unchanged lines hidden (view full) --- 722# found, and then later a kernel banner for another kernel version 723# is found, it is considered that we encountered a triple fault, 724# and there is no panic or callback, but simply a reboot. 725# To disable this (because it did a false positive) set the following 726# to 0. 727# (default 1) 728#DETECT_TRIPLE_FAULT = 0 729 | 592# Build without doing a make mrproper, or removing .config 593# (default 0) 594#BUILD_NOCLEAN = 0 595 596# As the test reads the console, after it hits the SUCCESS_LINE 597# the time it waits for the monitor to settle down between reads 598# can usually be lowered. 599# (in seconds) (default 1) --- 95 unchanged lines hidden (view full) --- 695# found, and then later a kernel banner for another kernel version 696# is found, it is considered that we encountered a triple fault, 697# and there is no panic or callback, but simply a reboot. 698# To disable this (because it did a false positive) set the following 699# to 0. 700# (default 1) 701#DETECT_TRIPLE_FAULT = 0 702 |
730# All options in the config file should be either used by ktest 731# or could be used within a value of another option. If an option 732# in the config file is not used, ktest will warn about it and ask 733# if you want to continue. 734# 735# If you don't care if there are non-used options, enable this 736# option. Be careful though, a non-used option is usually a sign 737# of an option name being typed incorrectly. 738# (default 0) 739#IGNORE_UNUSED = 1 740 | |
741#### Per test run options #### 742# The following options are only allowed in TEST_START sections. 743# They are ignored in the DEFAULTS sections. 744# 745# All of these are optional and undefined by default, although 746# some of these options are required for TEST_TYPE of patchcheck 747# and bisect. 748# --- 146 unchanged lines hidden (view full) --- 895# out BISECT_BAD and makes sure it fails, then it will check 896# out BISECT_GOOD and makes sure it succeeds before starting 897# the bisect (it works for BISECT_REVERSE too). 898# 899# You can limit the test to just check BISECT_GOOD or 900# BISECT_BAD with BISECT_CHECK = good or 901# BISECT_CHECK = bad, respectively. 902# | 703#### Per test run options #### 704# The following options are only allowed in TEST_START sections. 705# They are ignored in the DEFAULTS sections. 706# 707# All of these are optional and undefined by default, although 708# some of these options are required for TEST_TYPE of patchcheck 709# and bisect. 710# --- 146 unchanged lines hidden (view full) --- 857# out BISECT_BAD and makes sure it fails, then it will check 858# out BISECT_GOOD and makes sure it succeeds before starting 859# the bisect (it works for BISECT_REVERSE too). 860# 861# You can limit the test to just check BISECT_GOOD or 862# BISECT_BAD with BISECT_CHECK = good or 863# BISECT_CHECK = bad, respectively. 864# |
903# BISECT_RET_GOOD = 0 (optional, default undefined) 904# 905# In case the specificed test returns something other than just 906# 0 for good, and non-zero for bad, you can override 0 being 907# good by defining BISECT_RET_GOOD. 908# 909# BISECT_RET_BAD = 1 (optional, default undefined) 910# 911# In case the specificed test returns something other than just 912# 0 for good, and non-zero for bad, you can override non-zero being 913# bad by defining BISECT_RET_BAD. 914# 915# BISECT_RET_ABORT = 255 (optional, default undefined) 916# 917# If you need to abort the bisect if the test discovers something 918# that was wrong, you can define BISECT_RET_ABORT to be the error 919# code returned by the test in order to abort the bisect. 920# 921# BISECT_RET_SKIP = 2 (optional, default undefined) 922# 923# If the test detects that the current commit is neither good 924# nor bad, but something else happened (another bug detected) 925# you can specify BISECT_RET_SKIP to an error code that the 926# test returns when it should skip the current commit. 927# 928# BISECT_RET_DEFAULT = good (optional, default undefined) 929# 930# You can override the default of what to do when the above 931# options are not hit. This may be one of, "good", "bad", 932# "abort" or "skip" (without the quotes). 933# 934# Note, if you do not define any of the previous BISECT_RET_* 935# and define BISECT_RET_DEFAULT, all bisects results will do 936# what the BISECT_RET_DEFAULT has. 937# 938# | |
939# Example: 940# TEST_START 941# TEST_TYPE = bisect 942# BISECT_GOOD = v2.6.36 943# BISECT_BAD = b5153163ed580e00c67bdfecb02b2e3843817b3e 944# BISECT_TYPE = build 945# MIN_CONFIG = /home/test/config-bisect 946# --- 72 unchanged lines hidden (view full) --- 1019# If you have a good config to start with, then you 1020# can specify it with CONFIG_BISECT_GOOD. Otherwise 1021# the MIN_CONFIG is the base. 1022# 1023# Example: 1024# TEST_START 1025# TEST_TYPE = config_bisect 1026# CONFIG_BISECT_TYPE = build | 865# Example: 866# TEST_START 867# TEST_TYPE = bisect 868# BISECT_GOOD = v2.6.36 869# BISECT_BAD = b5153163ed580e00c67bdfecb02b2e3843817b3e 870# BISECT_TYPE = build 871# MIN_CONFIG = /home/test/config-bisect 872# --- 72 unchanged lines hidden (view full) --- 945# If you have a good config to start with, then you 946# can specify it with CONFIG_BISECT_GOOD. Otherwise 947# the MIN_CONFIG is the base. 948# 949# Example: 950# TEST_START 951# TEST_TYPE = config_bisect 952# CONFIG_BISECT_TYPE = build |
1027# CONFIG_BISECT = /home/test/�onfig-bad | 953# CONFIG_BISECT = /home/test/config-bad |
1028# MIN_CONFIG = /home/test/config-min 1029# BISECT_MANUAL = 1 1030# 1031# 1032# 1033# For TEST_TYPE = make_min_config 1034# 1035# After doing a make localyesconfig, your kernel configuration may --- 60 unchanged lines hidden --- | 954# MIN_CONFIG = /home/test/config-min 955# BISECT_MANUAL = 1 956# 957# 958# 959# For TEST_TYPE = make_min_config 960# 961# After doing a make localyesconfig, your kernel configuration may --- 60 unchanged lines hidden --- |