Commit b4e7c5c1 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

Merge branch 'pkgtest'

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5490
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parents f3d25d23 355a558f
......@@ -19,8 +19,8 @@
all:
flist: Makefile $(wildcard Makefile.*) install.bashrc \
template_install.sh \
flist: Makefile $(wildcard Makefile.* *.bashrc) \
template_install.sh packagetest \
$(filter-out %.bak,$(wildcard README*))
echo $^ | tr ' ' '\n' | sort | egrep -v '.bak$$'> $@
......
#!/bin/sh
# this is <packagetest>
# ----------------------------------------------------------------------------
# $Id: $
#
# Copyright (c) 2014 by Thomas Forbriger (BFO Schiltach)
#
# a shell to set up a test environment
#
# REVISIONS and CHANGES
# 19/01/2014 V1.0 Thomas Forbriger
#
# ============================================================================
#
RCFILE=$(dirname $TF_MAKEPKG)/packagetest.bashrc
. $RCFILE
if test $# -lt 1
then
ls ${TF_PUBLICATIONPATH}
echo please provide package name on command line
exit 2
fi
PACKAGE=$1
PACKAGETARGZ=$PACKAGE.tar.gz
PACKAGETGZPATH=${TF_PUBLICATIONPATH}/$PACKAGETARGZ
TMP=$HOME/tmp/packagetest
/bin/rm -rfv ${TMP}
mkdir -pv ${TMP}
cd ${TMP}
tar xvfpsz $PACKAGETGZPATH
cd $(basename $PACKAGE src)
./install.sh
/bin/bash
# ----- END OF packagetest -----
#!/bin/sh
# this is <packagetest.bashrc>
# ----------------------------------------------------------------------------
# $Id: $
#
# Copyright (c) 2014 by Thomas Forbriger (BFO Schiltach)
#
# set environment variables for a package test
#
# REVISIONS and CHANGES
# 19/01/2014 V1.0 Thomas Forbriger
#
# ============================================================================
#
unset SERVERLIBDIR
unset SERVERINCLUDEDIR
unset LOCLIBDIR
unset LOCINCLUDEDIR
unset LOCBINDIR
# ----- END OF packagetest.bashrc -----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment