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)
commit8e80bf05ff7e7bda6f1683b1201ada56c4efa4c1
tree1f0163a5642e0b11e334ad2df872047252a5de07
parent298a0d1d575026edec7fbb9b7e8cbb8fe18498cd
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