summaryrefslogtreecommitdiff
path: root/xts5/bin
AgeCommit message (Collapse)AuthorFilesLines
2014-03-21Drop use of perl's given/when constructPeter Harris1-4/+9
The perl mongers have retroactively marked this construct "experimental", five and a half years after it was marked stable. http://perldoc.perl.org/perl5180delta.html#The-smartmatch-family-of-features-are-now-experimental Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Harris <pharris@opentext.com>
2013-05-31Fix automatic configuration of BackingStoresPeter Harris1-1/+9
xdpyinfo reports NO, WHEN MAPPED or YES, but XT_DOES_BACKING_STORE expects a 0, 1, or 2. Signed-off-by: Peter Harris <pharris@opentext.com>
2013-02-19Set XT_DISPLAYHOST for remote connectionsPeter Harris1-0/+8
Xlib3/XOpenDisplay may segfault if XT_DISPLAY is set and XT_DISPLAYHOST is not. Signed-off-by: Peter Harris <pharris@opentext.com> Tested-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2012-08-15Don't add local paths when the server is remotePeter Harris1-0/+18
XT_FONTPATH has to be a valid font path. Also trim at least one remote path from XT_FONTPATH_GOOD, so it isn't the same as XT_FONTPATH. Signed-off-by: Peter Harris <pharris@opentext.com>
2012-01-05xts-config: Fix “Use of qw(...) as parentheses” warning.Cyril Brulebois1-2/+2
In Perl before 5.14, the following syntax was happily accepted: foreach my $foo qw(bar baz) but that's been deprecated and that now generates a warning: Use of qw(...) as parentheses is deprecated at ./xts5/bin/xts-config line 118. The correct form has always been: foreach my $foo (qw(bar baz)) and that's compatible with older Perl releases, so let's use that. Reference: http://perldoc.perl.org/perl5140delta.html Signed-off-by: Cyril Brulebois <kibi@debian.org> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-08-15xts-config.in: ":n" is a valid display nameAaron Plattner1-2/+2
When determining whether the connection is local and you can connect to the server via TCP, don't try to parse out ":n.m" and then reconstruct it as "hostname:n.m", because ":n" is a valid display name. Instead, check for the optional ".m" part and if it matches, just tack the complete $DISPLAY value (including the leading colon) onto the hostname. Fixes XOpenDisplay-10 when $DISPLAY is missing the optional screen number part. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-08-15xts5: Construct an absolute XT_FONTPATHAaron Plattner1-0/+2
This fixes tests such as XCreateGlyphCursor that fail with UNRESOLVED when run while the test suite is not installed because the tests pass "../xts5/fonts" as a font path to the server, which fails because the server doesn't look in the same directory. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-24xts-run: Handle -o parameter as output base directoryDan Nicholson1-4/+5
Allows moving the location of the results directory without having to recreate the dated subdirectory. For example, "xts-run -o ~/xts-results" will give you results in ~/xts-results/$date and subsequent runs will not conflict.
2010-03-24xts5: Tweak the default output directoryDan Nicholson1-1/+1
Collect all the results under one directory instead of cluttering the current directory. Also, add the seconds to the date in the directory name to reduce the chance of conflict.
2010-02-20xts5: Include summary report in resultsDan Nicholson1-0/+9
Give users a quick summary of the test results with the xts-report "no details" mode. This will appear next to the journal as summary.
2010-02-20xts5: Use package version in xts utilitiesDan Nicholson1-0/+6
Use the package version for reporting the version of xts-run and xts-report.
2010-02-17xts5: Add some help text to xts-runDan Nicholson1-3/+16
2010-02-17xts5: Specify default tcc to use in xts-runDan Nicholson1-1/+1
We want to use the tcc built with xts, so default to setting the full path instead of hoping to find it in $PATH.
2009-10-10xts-run: No need to pass journal fileDan Nicholson1-1/+1
The journal file will default to $results_dir/journal, which is what we want anyway.
2009-10-10tet: Allow for executables outside of TET_ROOT by defaultDan Nicholson1-4/+1
tet is really built around the notion that all the source, programs, data and output will all live in a single tree. However, often times the test programs are built and/or installed in a separate location. This can be worked around with various environment variables or command line options, but it would be better to build this behavior in by default. This introduces TET_EXEC_ROOT, which specifies the base directory for tet test programs. The tests will be found in the test suite subdirectory of TET_EXEC_ROOT. E.g., $TET_EXEC_ROOT/xts. The default here is to have TET_ROOT=$datadir and TET_EXEC_ROOT=$libexecdir.
2009-10-10Use a default TET_ROOT when not in the environmentDan Nicholson2-11/+7
Requiring an environment variable to be set in order to get any behavior is an obnoxious trait. Instead, a sane default TET_ROOT is built into the programs that use it. Users such as "make check" that need more control can continue using the environment variable. The scripts are now substituted from make so that we get full variable resolution.
2009-10-10xts5: Use xts-run wrapper script for executing testsDan Nicholson1-0/+75
xts-run is a simple wrapper script to generate a tetexec.cfg and run tcc with the appropriate arguments.
2009-10-07Remove DECNET configuration items.Peter Hutterer1-1/+1
Welcome to the wooorld of tomorrow!
2009-10-07Purge XT_DISPLAY config variable, use DISPLAY environment var instead.Peter Hutterer1-2/+2
Let's use DISPLAY like every other sane X application does, not through a variable set at configure time. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-09-16Nuke RCS IDsDan Nicholson5-5/+0
2009-09-16xts5: Move tests out of tset directoryDan Nicholson1-1/+1
The tset directory was mostly useless and causes extra baggage if the scenario files are going to be used on an installed package. The test directories are now flattened into xts5.
2009-05-10xts5: Check for xset and xdpyinfo before running xts-configDan Nicholson1-5/+10
Ensure that the user has xset and xdpyinfo and that xts-config uses those tools. Additionally, move the generation of tetexec.cfg to the Makefile to handle all the environment variables and prerequisites.
2009-05-09xts5: Suppress xset errors in xts-config when checking TCP connectionDan Nicholson1-1/+1
It's pretty likely the user doesn't have TCP connections allowed, so suppress xset errors when checking.
2005-12-08Oops, variable references not allowed in tetexec.cfg. Substitute TET_ROOT ↵jamey1-1/+1
when xts-config is run instead.
2005-12-08New script to auto-configure tetexec.cfg from a running X server.jamey1-0/+136
2005-11-03clean up all vsw5 paths to use xts5 instead.jmichael4-20/+29
2005-11-01Numerous changes to eliminate the need for wclean. It is replaced by doingidr2-102/+3
'wbuild clean'. tetclean.cfg will soon get the axe as well.
2005-11-01Gutted brain-dead logic. Removed (worthless) RCS log from file.idr1-45/+4
2005-11-01Copy tetbuild.cfg from the configs directory if possible and needed; ↵jamey1-0/+8
cvsignore output from make build.
2005-04-21resync to VSW5.1.5ajosey1-63/+127
2005-02-12Initial revisionanderson6-0/+1062