diff options
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r-- | tools/testing/ktest/sample.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index 0e5f764ac9ee..1092e4759c1e 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf | |||
@@ -293,6 +293,38 @@ | |||
293 | # or on some systems: | 293 | # or on some systems: |
294 | #POST_INSTALL = ssh user@target /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION | 294 | #POST_INSTALL = ssh user@target /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION |
295 | 295 | ||
296 | # If there is a script that you require to run before the build is done | ||
297 | # you can specify it with PRE_BUILD. | ||
298 | # | ||
299 | # One example may be if you must add a temporary patch to the build to | ||
300 | # fix a unrelated bug to perform a patchcheck test. This will apply the | ||
301 | # patch before each build that is made. Use the POST_BUILD to do a git reset --hard | ||
302 | # to remove the patch. | ||
303 | # | ||
304 | # (default undef) | ||
305 | #PRE_BUILD = cd ${BUILD_DIR} && patch -p1 < /tmp/temp.patch | ||
306 | |||
307 | # To specify if the test should fail if the PRE_BUILD fails, | ||
308 | # PRE_BUILD_DIE needs to be set to 1. Otherwise the PRE_BUILD | ||
309 | # result is ignored. | ||
310 | # (default 0) | ||
311 | # PRE_BUILD_DIE = 1 | ||
312 | |||
313 | # If there is a script that should run after the build is done | ||
314 | # you can specify it with POST_BUILD. | ||
315 | # | ||
316 | # As the example in PRE_BUILD, POST_BUILD can be used to reset modifications | ||
317 | # made by the PRE_BUILD. | ||
318 | # | ||
319 | # (default undef) | ||
320 | #POST_BUILD = cd ${BUILD_DIR} && git reset --hard | ||
321 | |||
322 | # To specify if the test should fail if the POST_BUILD fails, | ||
323 | # POST_BUILD_DIE needs to be set to 1. Otherwise the POST_BUILD | ||
324 | # result is ignored. | ||
325 | # (default 0) | ||
326 | #POST_BUILD_DIE = 1 | ||
327 | |||
296 | # Way to reboot the box to the test kernel. | 328 | # Way to reboot the box to the test kernel. |
297 | # Only valid options so far are "grub" and "script" | 329 | # Only valid options so far are "grub" and "script" |
298 | # (default grub) | 330 | # (default grub) |