head 1.10; access; symbols XDS_0_9_3:1.10 XDS_0_9_2:1.10 XDS_0_9_1:1.9 XDS_0_9_0:1.8; locks; strict; comment @# @; 1.10 date 2005.06.02.18.51.44; author rse; state Exp; branches; next 1.9; 1.9 date 2004.09.12.17.32.14; author rse; state Exp; branches; next 1.8; 1.8 date 2003.02.17.12.36.02; author rse; state Exp; branches; next 1.7; 1.7 date 2002.03.17.10.25.53; author rse; state Exp; branches; next 1.6; 1.6 date 2002.01.02.17.13.44; author rse; state Exp; branches; next 1.5; 1.5 date 2001.08.13.19.48.02; author rse; state Exp; branches; next 1.4; 1.4 date 2001.08.12.11.31.45; author rse; state Exp; branches; next 1.3; 1.3 date 2001.08.11.15.23.09; author rse; state Exp; branches; next 1.2; 1.2 date 2001.08.09.19.58.35; author rse; state Exp; branches; next 1.1; 1.1 date 2001.08.08.19.15.23; author rse; state Exp; branches; next ; desc @@ 1.10 log @Bumped year in copyright messages for year 2005. @ text @#!/bin/sh ## ## OSSP xds - Extensible Data Serialization ## Copyright (c) 2001-2005 Ralf S. Engelschall ## Copyright (c) 2001-2005 The OSSP Project ## Copyright (c) 2001-2005 Cable & Wireless ## ## This file is part of OSSP xds, an extensible data serialization ## library which can be found at http://www.ossp.org/pkg/lib/xds/. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## ## xds_test.sh: test suite driver script ## run="$1" shift if [ $# -lt 1 ]; then echo "Usage: $0 [ ...]" exit 1 fi RESCOLUMN=30 numTests=0 numFails=0 echo "Running test suite:" pad='' n=$RESCOLUMN while [ $n -gt 0 ]; do pad="$pad." n=`expr $n - 1` done for suite in "$@@"; do name=`expr "${suite}" : '\./\.\(.*\)\.t$'` echo "$name$pad" | awk '{ printf("%s ", substr($0, 0, n)); }' n=$RESCOLUMN numTests=`expr $numTests + 1` eval $run $suite >.${name}.l 2>&1 if [ $? -eq 0 ]; then echo "OK" else numFails=`expr $numFails + 1` echo "FAILED" fi done echo if [ $numFails -eq 0 ]; then echo "Summary: All tests succeeded." exit 0 else percent=`expr $numFails \* 100` percent=`expr $percent / $numTests` echo "Summary: $numFails of $numTests tests failed ($percent%)." exit 1 fi @ 1.9 log @Bumped year in copyright messages for year 2004. @ text @d4 3 a6 3 ## Copyright (c) 2001-2004 Ralf S. Engelschall ## Copyright (c) 2001-2004 The OSSP Project ## Copyright (c) 2001-2004 Cable & Wireless @ 1.8 log @upgrade to standard OSSP copyright and bump year to 2003 @ text @d4 3 a6 3 ## Copyright (c) 2001-2003 Ralf S. Engelschall ## Copyright (c) 2001-2003 The OSSP Project ## Copyright (c) 2001-2003 Cable & Wireless Germany @ 1.7 log @update texts @ text @d4 3 a6 2 ## Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/) @ 1.6 log @bump copyright year @ text @d3 1 a3 1 ## XDS - OSSP Extensible Data Serialization Library d7 2 a8 2 ## This file is part of OSSP XDS, an extensible data serialization ## library which can be found at http://www.ossp.org/pkg/xds/. @ 1.5 log @Remove trailing whitespaces on all non-generated files. @ text @d4 2 a5 2 ## Copyright (c) 2001 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2001 Cable & Wireless Deutschland (http://www.cw.com/de/) @ 1.4 log @Hhmm... who has introduced ossp.com?! Our project's domain is ossp.org, of course. @ text @d6 1 a6 1 ## d9 1 a9 1 ## d14 1 a14 1 ## @ 1.3 log @First cut for GNU Libtool 1.4 & GNU Shtool 1.5 support. This needs a little bit more cleanup which will follow later, but I want to flush my pending work now in order to continue with other projects. The XDS build environment now is in sync with the usual style for OSSP libraries. @ text @d8 1 a8 1 ## library which can be found at http://www.ossp.com/pkg/xds/. @ 1.2 log @Use the license consistently. @ text @d31 3 d35 1 a35 1 echo "Usage: $0 test1.t [...]" d55 1 a55 1 eval ./$suite >.${name}.l 2>&1 @ 1.1 log @First cut of the ruthless style adjustments to OSSP XDS: o adjust source tree to follow OSSP source tree style by heavily combining sources into smaller sets (needs more work when still missing parts are added later) o automatic re-indentation of sources with GNU indent (still needs manual review and adjustments; will follow) These two heavy steps were mostly done automatically with the help of two helper scripts written in Perl. So expect more manual adjustments to follow... @ text @d2 28 @