$  Copyright(c) 1996 Sun Microsystems, Inc.
$  All rights reserved.

$  #ident  "@(#)gfxtest.msg  1.1  99/04/08  SMI/TSI"

$ Message ID ranges:
$ VERBOSE  1 ~ 1999
$ INFO     2000 ~ 3999
$ WARNING  4000 ~ 5999
$ ERROR    6000 ~ 7999
$ FATAL    8000 ~ 9998
$ 9999 is reserved by test library for old style messages.
$ 0 is reserved and is an invalid message for all tests.

$ *********************************************
$ VERBOSE messages
$ *********************************************
$ MEMTEST_RUN_VMSG 1
1	"Running memory (video framebuffer) test..."
$ MEMTEST_PASSED_VMSG
2	"Memory test passed with no errors."
$ RAMDACTEST_RUN_VMSG
3	"Running RAMDAC test..."
$ RAMDACTEST_PASSED_VMSG
4	"RAMDAC test passed with no errors."
$ ACCELTEST_RUN_VMSG
5	"Running accelerator test..."
$ ACCELTEST_PASSED_VMSG
6	"Accelerator test passed with no errors."
$ MEMTEST_CYCLE
7	"Performing random memory test, pass %d."
$ WHICH_MEMTEST
8	"Performing memory test: %s"
$ PCITEST_RUN_VMSG
9	"Running PCI test..."
$ PCITEST_PASSED_VMSG
10	"PCI test passed with no errors."
$ DUMPREG_BEFORE
11	"Register dump before tests"
$ DUMPREG_AFTER
12	"Register dump after tests"
$ DUMPREG_INFO
13	"Register %s: %d, Hex=0x%x"
$ DACREG_INFO
14	"Register 0x%x: %d, Hex=0x%x"

$ *****************************************************
$ INFO messages (includeing INFO, CONSOLE, and LOGFILE)
$ No double quotes (" ") is needed for INFO messages.
$ *****************************************************

$ TEST_USAGE_INFOMSG 2000
2000	%s specific arguments [defaults]:\n\
\tmem=<1==disable>		Number of times to run memory test [0]\n\
\tramdac=<1==disable>	Number of times to run RAMDAC test [0]\n\
\taccel=<1==disable>		Number of times to run accelerator test [0]\n\
\tpci=<1==disable>		Number of times to run pci test [0]\n\
\tdev=<device name>	Test device name [/dev/fbs/gfxp0]\n

$ TEST_ARGLIST_INFOMSG 2001
2001	[mem= ][,ramdac= ][,accel= ][,pci= ][,dev= ]
 
$ *********************************
$ WARNING messages
$ *********************************
$ TEST_WARNMSG 4000
4000	"This is an example warning message."

$ ********************************
$ ERROR messages
$ ********************************
$ TEST_ARGUMENT_ERRMSG  6000	
6000	"Please enter an appropriate value, %s=?"
$ BAD_OPTIONS_ERRMSG 6001
6001	"Bad test option: %s"
$ SUBTEST_ERRMSG  6002 
6002	"Found error in subtest"
$ TEST_SAMPLE_ERRMSG  6003
6003	"This is an example error message."
$ TEST_FINAL_ERRMSG 6004
6004	"Test Failed.  Found %d errors."
$ MEMTEST_ERRMSG
6005	"Memory test failed.  Found %d errors."
$ RAMDACTEST_ERRMSG
6006	"RAMDAC test failed.  Found %d errors."
$ ACCELTEST_ERRMSG
6007	"Accelerator test failed.  Found %d errors."
$ SYSINFO_ERRMSG
6008	"sysinfo(2) failed getting hostname"
$ SEM_GET_ERRMSG
6009	"can't acquire console semaphore"
$ GRAB_KBD_ERRMSG
6010	"Cannot gain control of keyboard"
$ GRAB_MOUSE_ERRMSG
6011	"Cannot gain control of mouse"
$ MEMORY_TEST_ERROR
6012	"Memory test error: addr=%08x expected=%08x got=%08x xor=%08x chip=%s after %d successful, %s, %s, test=%s"
$ PCITEST_ERRMSG
6013	"PCI test failed.  Found %d errors."

$ ********************************
$ FATAL ERROR messages
$ ********************************
$ OPENFAILED_FATALERR
8000 	"Fatal Error: Could not open device %s."
$ FBMAPFAILED_FATALERR
8001	"Fatal Error: Could not map framebuffer for device %s."
$ ENGINEMAPFAILED_FATALERR
8002	"Fatal Error: Could not map accelerator for device %s."
$ MEMTEST_CANT_FATALERR
8003	"Fatal Error: Random test suite cannot test regions whose size != 2^n"
$ OUT_OF_MEMORY_FATALERR
8004	"Fatal Error: Out of memory.  malloc() failed."
$ NO_X_SERVER_ERRMSG
8005	"Fatal Error: To test a console GFX, run SunVTS from OpenWindows"

