summaryrefslogtreecommitdiff
path: root/xts5/Xlib7
AgeCommit message (Collapse)AuthorFilesLines
2015-02-09XStoreColors?: Fix transient display leakRobert Morell2-2/+18
On a system with many visuals, leaving the display connections open until test cleanup can cause the test to fail when the server reaches MAX_CLIENTS simultaneous connections. Signed-off-by: Robert Morell <rmorell@nvidia.com> Tested-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2011-08-29xts5: XCreateColormap-11: Bogus visuals return BadMatch, not BadValueAaron Plattner1-4/+4
According to the X11 protocol specification, "The visual type must be one supported by the screen (or a Match error results)." It does not say anything about invalid visual IDs causing Value errors. Reported-by: Nalluri Harikrishna <nharikrishna@nvidia.com> Reported-by: Rahul Singhal <rasinghal@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-10-13[dist] Distribute files necessary to rebuild after distcleanAaron Plattner1-0/+1
The 'distclean' target deletes all of the .c files that were generated during the dist step. Since the .m files are not shipped in the tarball, it becomes impossible to rebuild after that. Fix this by shipping the .m files in the tarball along with the .mc helper libraries that mc needs to rebuild the .c files. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-09-16[dist] Don't clean BUILT_SOURCESAaron Plattner1-1/+1
We distribute the generated .c files, so we shouldn't clean them when the user runs "make clean". They should be cleaned as part of the "distclean" target. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-05-27xts: Actually wire up the xts shared libraries into the testsDan Nicholson1-3/+1
Commit a2826324 only actually changed the Xproto tests to use the xts shared libraries. This does it for the rest of the tests. On my x86_64 linux box compiling at the default -g -O2, the installed size has gone from 237MB to 72MB. Yay. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-05-27tet: Build TET API library as private shared moduleDan Nicholson1-0/+1
Making libapi shared saves quite a bit of space since it's linked into every test program. However, parts of the API are intended to be linked statically into the program, so libapi and libtcm have been split into static and shared (_s) portions. In order to satisy undefined extern variables with shared libraries, tet_pname and tet_thistest have been added to tcc and exported. Hopefully, more code can be moved into the shared _s portion with just small stubs linked statically into the tests. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-04-20xts5: Fix "unused variable" warnings.Aaron Plattner52-268/+54
There are still two left: XDrawRectangle/XDrawRectangle.c:4211: warning: unused variable ‘jssav’ XDrawRectangles/XDrawRectangles.c:4292: warning: unused variable ‘jssav’ These are a little harder to fix because the declaration is generated but jssav is only used in some of the tests. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-20xts5: Fix "missing braces around initializer" warnings.Aaron Plattner2-30/+30
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-03-24xts5: Remove an unneeded $(EXEEXT)Jon TURNEY1-1/+1
tprogs lists the test programs without $(EXEEXT), so substituting the $(EXEEXT) with .c to get BUILD_SOURCES fails to work correctly when $(EXEEXT) isn't empty Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-02-17xts5: Use shared library modules to decrease test program sizeDan Nicholson1-4/+4
Linking the xts libraries statically into each test program results in a massive size for the collection of programs. The libraries have been changed to private libtool modules that default to shared, resulting in a much smaller installed size. One consequence of linking to shared objects is that the linker errors on undefined extern variables. The obsolete and unused startup routines in linkstart.c had one of these, so they have been removed from the build. Next is to create the tet library shared.
2009-10-14xts5: Stop gratuitous use of make variables in common.mkDan Nicholson1-3/+11
The meanings of the variables were confusing or obfuscating. Now it's much clearer which libraries are in use.
2009-10-07xts5: Install test programs to libexec subdirs matching scenariosDan Nicholson1-1/+2
In order to keep the scenarios usable in the source tree and while installed, install the test programs to subdirectories of $(libexecdir) matching the source tree. This gives, for example, /usr/libexec/xts5/Xproto/pAllocColor.
2009-09-28xts5: Flatten Xlib7 directory moreDan Nicholson60-174/+174
2009-09-26xts5: Ignore renamed Xlib7 testDan Nicholson1-1/+1
2009-09-17xts5: Fix up name for XcmsConversionProc alternate testDan Nicholson2-2/+2
2009-09-16xts5: Fix automake include commands now that tset/ is goneDan Nicholson1-1/+1
One less directory to ascend...
2009-09-16xts5: Fix up comments for tset/ removalDan Nicholson58-58/+58
2009-09-16Nuke RCS IDsDan Nicholson58-58/+0
2009-09-16xts5: Move tests out of tset directoryDan Nicholson60-0/+24909
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.