]> git.baikalelectronics.ru Git - kernel.git/commit
ktest: Add special variable ${KERNEL_VERSION}
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 11 Dec 2013 20:40:46 +0000 (15:40 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 11 Dec 2013 20:53:31 +0000 (15:53 -0500)
commit183620b148488c4634433ea54b40b9c94e9094e2
tree1f0163a5642e0b11e334ad2df872047252a5de07
parentb2ae9a1f20802f64b8fd9744a2554eb3df54641d
ktest: Add special variable ${KERNEL_VERSION}

Add a special variable that can be used in other variables called
${KERNEL_VERSION}. This will embed the current kernel version into
the variable. For example:

WARNINGS_FILE = ${OUTPUT_DIR}/warnings-${KERNEL_VERSION}

If the current version is v3.8 then the WARNINGS_FILE will become

  ${OUTPUT_DIR}/warnings-v3.8

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl