Blame tests/environment/README

Packit b099d7
/* $XConsortium: README /main/2 1996/07/15 14:30:31 drk $ */
Packit b099d7
Packit b099d7
		README for tests/environment
Packit b099d7
		============================
Packit b099d7
Packit b099d7
Packit b099d7
    This directory hierarchy is a reflection of the environment under
Packit b099d7
    which all the automated testing was conducted internally at OSF.
Packit b099d7
    The list of directories under 'bin' represents the list of platforms
Packit b099d7
    on which the testing was done. You can add your platform following
Packit b099d7
    the same model. Make sure you modify your path so that the platform-
Packit b099d7
    specific binaries you build will be found and used.
Packit b099d7
Packit b099d7
    Before making this your environment, there are a couple of things
Packit b099d7
    you should do.
Packit b099d7
Packit b099d7
        1. Build the fonts provided under 'fonts/bdf' directory using
Packit b099d7
           a resident font compiler and place the executables under
Packit b099d7
           the appropriate sub-directory (corresponding to your platform)
Packit b099d7
           under the 'fonts' directory. Since this is the list of
Packit b099d7
           fonts being used by various tests at run time, you will need
Packit b099d7
           to build the fonts to get the right results from your
Packit b099d7
           automated runs. Make sure this fonts directory is added to
Packit b099d7
	   your font path, either via 'xset' or as a command line argument
Packit b099d7
	   when you run your server. (See the startx_* files for examples
Packit b099d7
	   of the latter.)
Packit b099d7
Packit b099d7
        2. You need to run the Motif window manager built from the Motif 2.0 
Packit b099d7
	   sources. 
Packit b099d7
Packit b099d7
	Once you have completed the steps mentioned above, you need to
Packit b099d7
	make sure that your environment gets set up correctly, before
Packit b099d7
	starting the test runs. Here is what we did to ensure this.
Packit b099d7
Packit b099d7
	We created an account 'qauser'. We created this whole environment
Packit b099d7
	hierarchy under the home directory of 'qauser' (~qauser/.). 
Packit b099d7
	We began each test run by logging in as qauser in the following way:
Packit b099d7
Packit b099d7
		Logout from the current session to console
Packit b099d7
Packit b099d7
		Login as 'qauser'
Packit b099d7
Packit b099d7
		% startx || startx_color || startx_mono
Packit b099d7
Packit b099d7
Packit b099d7
	This will ensure that the environment is set up correctly for the
Packit b099d7
	specified platform with the correct version of mwm running.
Packit b099d7
Packit b099d7
	If you wish to run the tests from your home directory, copy all
Packit b099d7
	the qauser files into your home directory, preserving your own
Packit b099d7
	defaults elsewhere. Note that the .motifbind files are in the 
Packit b099d7
	platform-specific subdirectories. You will probably need a fair number
Packit b099d7
	of modifications to your home environment to get the tests to
Packit b099d7
	work properly. We suggest use of the 'qauser' account if at all
Packit b099d7
	possible.
Packit b099d7
Packit b099d7
Packit b099d7
	Other tools:
Packit b099d7
Packit b099d7
	In the ./bin directory you will find a script call scrline. This
Packit b099d7
	script can help you isolate the exact source line of a .scr file
Packit b099d7
	that is causing an error. The line number printed out by the
Packit b099d7
	automation code refers to the UNCOMMENTED line number, so scrline
Packit b099d7
	is useful in debugging scripts with comments.
Packit b099d7
Packit b099d7
Packit b099d7