mktestpkg.sh
Kevin E. Martin,,,,
kem at gabe.freedesktop.org
Wed Jul 6 18:31:38 PDT 2005
Update of /cvs/xtest/utils
In directory gabe:/tmp/cvs-serv11692
Modified Files:
mktestpkg.sh
Log Message:
- Build from tet3.3h sources
- Create xts5-${OS}-${ARCH} subdir
- Create tarball of xts5-${OS}-${ARCH} subdir instead of .
Index: mktestpkg.sh
===================================================================
RCS file: /cvs/xtest/utils/mktestpkg.sh,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- mktestpkg.sh 6 Jul 2005 06:31:59 -0000 1.1.1.1
+++ mktestpkg.sh 7 Jul 2005 01:31:36 -0000 1.2
@@ -2,20 +2,35 @@
OS=`uname -s`
ARCH=`uname -m`
+
+TOPDIR="xts5-${OS}-${ARCH}"
+mkdir ${TOPDIR}
+cd ${TOPDIR}
+
#
-# Longer term, we want to get this as source and build it so this script will
-# work on multiple OSes and Architectures.
+# Get tet source and build it.
#
-wget http://tetware.opengroup.org/tet/sample_binaries/tet3.3-bin-linux2-lite.tgz
-tar zxf tet3.3-bin-linux2-lite.tgz
-rm -f tet3.3-bin-linux2-lite.tgz
+wget http://tetworks.opengroup.org/tet/tet3.3h-unsup.src.tgz
+tar zxf tet3.3h-unsup.src.tgz
+rm -f tet3.3h-unsup.src.tgz
+
+TET_ROOT=`pwd`
+export TET_ROOT
+PATH=${TET_ROOT}/bin:${TET_ROOT}/xts5/bin:${PATH}
+export PATH
+sh configure -t lite
+cd src
+make install
+make compat
+cd ..
+
+#
+# Longer term, we want to get this as a source tarball instead of from CVS.
#
cvs -z3 -d:pserver:anoncvs at cvs.freedesktop.org:/cvs/xtest login
-cvs -z3 -d:pserver:anoncvs at cvs.freedesktop.org:/cvs/xtest co xts5
+cvs -z3 -d:pserver:anoncvs at cvs.freedesktop.org:/cvs/xtest co xts5 utils
ln -s xts5 vsw5
-export TET_ROOT=`pwd`
-export PATH=$TET_ROOT/bin:$TET_ROOT/xts5/bin:$PATH
cd xts5
echo Step 2
@@ -24,7 +39,7 @@
# Later, make this a bit smarter to hadle different OSes
#
chmod +w tetbuild.cfg
-cp configs/tetbuild.cfg.$OS ./tetbuild.cfg
+cp configs/tetbuild.cfg.${OS} ./tetbuild.cfg
echo Step 3
read step
make
@@ -34,5 +49,5 @@
# Clean up a couple of things and produce a tarball
#
rm -rf results/*
-cd ..
-tar czf xts5-$OS-$ARCH.tgz .
+cd ../..
+tar czf ${TOPDIR}.tgz ${TOPDIR}
More information about the xorg-test-commit
mailing list