tools/tests/regression/: Fix some paths and scripts.

o scripts and Makefile are mostly location independent now
  (exception XEN_ROOT in Makefile)
o use of $() instead of ${} in Makefile

From: Andreas Florath <xen@flonatel.org>
Signed-off-by: Keir Fraser <Keir.Fraser@eu.citrix.com>
This commit is contained in:
Keir Fraser committed 2009-08-02 12:22:03 +01:00
1 parent 109cae48ec
commit 00ee63bf97
4 files changed
+66 -51

No files matched your search

@@ -6,19 +6,19 @@
set -e
XEN_ROOT=$1
REG_TEST_DIR=$1
DEST=$2
PKG_VERS=$3
SUB_MAKES_MINUS_J=-j4
BUILD_DIR=${XEN_ROOT}/tests/build
BUILD_DIR=${REG_TEST_DIR}/build
mkdir -p ${BUILD_DIR}
(cd ${BUILD_DIR} && tar -xf ${XEN_ROOT}/tests/downloads/Python-$PKG_VERS.tgz)
(cd ${BUILD_DIR} && tar -xf ${REG_TEST_DIR}/downloads/Python-$PKG_VERS.tgz)
(cd ${BUILD_DIR}/Python-$PKG_VERS &&
./configure --enable-shared --enable-ipv6 --without-cxx \
--with-threads --prefix=${XEN_ROOT}/tests/installed/python-$DEST &&
--with-threads --prefix=${REG_TEST_DIR}/installed/python-$DEST &&
make ${SUB_MAKES_MINUS_J} &&
make install)
rm -fr ${BUILD_DIR}/Python-$PKG_VERS
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.