head	1.2;
access;
symbols
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	netbsd-5-2:1.2.0.8
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	netbsd-5-1:1.2.0.6
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	netbsd-5-0-1-RELEASE:1.2
	netbsd-5-0:1.2.0.4
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.2
	netbsd-5-base:1.2
	netbsd-2-0-3-RELEASE:1.1.1.1
	netbsd-2-1:1.1.1.1.0.8
	netbsd-2-1-RELEASE:1.1.1.1
	netbsd-2-1-RC6:1.1.1.1
	netbsd-2-1-RC5:1.1.1.1
	netbsd-2-1-RC4:1.1.1.1
	netbsd-2-1-RC3:1.1.1.1
	netbsd-2-1-RC2:1.1.1.1
	netbsd-2-1-RC1:1.1.1.1
	netbsd-2-0-2-RELEASE:1.1.1.1
	netbsd-2-0-1-RELEASE:1.1.1.1
	netbsd-2:1.1.1.1.0.6
	netbsd-2-base:1.1.1.1
	netbsd-2-0-RELEASE:1.1.1.1
	netbsd-2-0-RC5:1.1.1.1
	netbsd-2-0-RC4:1.1.1.1
	netbsd-2-0-RC3:1.1.1.1
	netbsd-2-0-RC2:1.1.1.1
	netbsd-2-0-RC1:1.1.1.1
	netbsd-2-0:1.1.1.1.0.4
	netbsd-2-0-base:1.1.1.1
	netbsd-1-6-PATCH002-RELEASE:1.1.1.1
	netbsd-1-6-PATCH002:1.1.1.1
	netbsd-1-6-PATCH002-RC4:1.1.1.1
	netbsd-1-6-PATCH002-RC3:1.1.1.1
	netbsd-1-6-PATCH002-RC2:1.1.1.1
	netbsd-1-6-PATCH002-RC1:1.1.1.1
	netbsd-1-6:1.1.1.1.0.2
	netbsd-1-6-base:1.1.1.1
	netbsd-1-6-PATCH001:1.1.1.1
	netbsd-1-6-RELEASE:1.1.1.1
	netbsd-1-5-PATCH003:1.1.1.1
	netbsd-1-5-PATCH002:1.1.1.1
	netbsd-1-5-PATCH001:1.1.1.1
	netbsd-1-5-RELEASE:1.1.1.1
	netbsd-1-4-PATCH003:1.1.1.1
	netbsd-1-4-PATCH002:1.1.1.1
	comdex-fall-1999:1.1.1.1
	netbsd-1-4-PATCH001:1.1.1.1
	netbsd-1-4-RELEASE:1.1.1.1
	v3-3-3-1:1.1.1.1
	netbsd-1-3-PATCH003:1.1.1.1
	pre-xf86-3-3-3-import:1.1.1.1
	netbsd-1-3-PATCH002:1.1.1.1
	v3-3-2:1.1.1.1
	netbsd-1-3-RELEASE:1.1.1.1
	v3-2:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.01.07.18.55.00;	author tron;	state dead;
branches;
next	1.1;

1.1
date	97.03.15.06.19.40;	author scottr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.03.15.06.19.40;	author scottr;	state Exp;
branches;
next	;


desc
@@


1.2
log
@EOL of XFree86 3.3.6, approved by core@@NetBSD.org
@
text
@
#
# $XConsortium: pt,v 1.2 92/06/30 17:32:56 rws Exp $
#
# Flags accepted.
#  -v XT_VARIABLE_NAME=Value       Add a variable setting
#  -d display                      Set the display
#  -i <IC's>                       List of IC's to do
#  -p                              Do pixmaps only.
#  -w                              Do windows only.
#  -P                              Pause after each drawing.
#  -D                              Do default depth of screen only.
#  -x <lev>                        Set debug level
#  -g                              Generate pixmaps.
#  -m                              Use macro version of function.

# The display defaults to $DISPLAY
#

trap "rm -f CONFIG" 0

PROG=./Test
if [ ! -f $PROG ]; then
	# If there isn't a ./Test then try for the space saving name.
	THISDIR=`pwd`
	PROG=./`basename $THISDIR`
fi

ICS=
echo > CONFIG

while [ $# -gt 0 ]
do
	case $1 in
	-v)
		echo $2 >> CONFIG
		shift
		;;
	-d)
		echo "XT_DISPLAY=$2" >> CONFIG
		shift
		;;
	-i)
		ICS=$2
		shift
		;;
	-x)
		echo "XT_DEBUG=$2" >> CONFIG
		shift
		;;
	-p)
		echo "XT_DEBUG_PIXMAP_ONLY=YES" >> CONFIG
		;;
	-w)
		echo "XT_DEBUG_WINDOW_ONLY=YES" >> CONFIG
		;;
	-P)
		echo "XT_DEBUG_PAUSE_AFTER=YES" >> CONFIG
		;;
	-D)
		echo "XT_DEBUG_DEFAULT_DEPTHS=YES" >> CONFIG
		;;
	-g)
		PROG=./pvgen
		;;
	-m)
		PROG=./MTest
		;;
	esac
	shift
done

# If the display variable is not set on the command line then
# this will cause the display in DISPLAY to be used.

if [ "$DISPLAY" != "" ]; then
	echo "XT_DISPLAY=$DISPLAY" >> CONFIG
fi

# config=${TET_CONFIG:-$TET_ROOT/xtest/tetexec.cfg}
# Since :- is not universal, and I really want that functionality.
if [ x"$TET_CONFIG" = x"" ]; then
	config=$TET_ROOT/xtest/tetexec.cfg
else
	config=$TET_CONFIG
fi

cat $config >> CONFIG
echo "junk=junk" >> CONFIG	# TEMP

# set TET_CONFIG to our modified file.
TET_CONFIG=CONFIG
export TET_CONFIG

#TET_CODE=${TET_CODE:-$TET_ROOT/xtest/tet_code}
if [ x"$TET_CODE" = x"" ]; then
	TET_CODE=$TET_ROOT/xtest/tet_code
fi
export TET_CODE

rm -f Err*.err

$PROG $ICS

@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@XFree86 3.2 sources
@
text
@@
