2 ##############################################################################
3 ## Copyright (c) 2015 Intel Corp.
5 ## All rights reserved. This program and the accompanying materials
6 ## are made available under the terms of the Apache License, Version 2.0
7 ## which accompanies this distribution, and is available at
8 ## http://www.apache.org/licenses/LICENSE-2.0
9 ###############################################################################
18 rm -rf ${rpmdir}/rt-tests-0.96-1.el7.centos.x86_64.rpm
20 ROOTDIR=$(cd $(dirname "$0")/../.. && pwd)
23 git clone https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
25 git checkout -b ${VERSION} ${VERSION}
26 patch -p1 -i ${ROOTDIR}/ci/envs/rt-tests.patch
27 make HAVE_PARSE_CPUSTRING_ALL=1 rpm
28 cp ./RPMS/x86_64/rt-tests-0.96-1.el7.centos.x86_64.rpm $rpmdir