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

$ #ident  "@(#)sample.msg  1.1  96/03/22  SMI"

$ 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
$ *********************************************
$ TEST_RUN_VMSG 1
1	"Running functional test..."
$# TEST_FRUID_TIME 2
2	"FRU ID Manufacture Date: %s"
$# TEST_FRUID_LOCATION 3
3	"FRU ID Manufacture Location: %s"
$# TEST_FRUID_SERIAL_NUMBER 4
4	"FRU ID Serial Number: %s"
$# TEST_FRUID_VENDOR 5
5	"FRU ID Vendor: 0x%04X"
$# TEST_FRUID_HWREV 6
6	"FRU ID Hardware Rev: %s"
 
$ *****************************************************
$ 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\
\tfbmem=<choice>			enable or disable\n\
\ttexmem=<choice>			enable or disable\n\
\tdlmem=<choice>			enable or disable\n\
\tgeomeng=<choice>		enable or disable\n\
\trasterization=<choice>		enable or disable\n\
\tpixelproc=<choice>		enable or disable\n\
\tsubtest_repeat=<numeric>	# of times to repeat each test\n\
\ttestloop_repeat=<numeric>	# of times to run through all tests\n\
\tdev=<device name>		test device name\n
$ TEST_ARGLIST_INFOMSG 2001
2001	[fbmem= ][,texmem= ][,dlmem ][,geomeng= ][,rasterization= ]\
[,pixelproc= ][,subtest_repeat= ][,testloop_repeat= ][,dev= ]
$# TEST_SINGLE_MEMORY_FAILURE 2002
2002	"Single failure testing memory. Retesting."
$# TEST_SINGLE_MEMORY_PASSED 2003
2003	"Retest passed. Ignoring isolated single location memory failure."


$ *********************************
$ WARNING messages
$ *********************************

$ ********************************
$ 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."
$# MISC_ERROR 6006
6006    "Miscellaneous Error"
$# TEST_POINT 6007
6007    "While testing points"
$# TEST_LINES 6008
6008    "While testing lines"
$# TEST_LINE_STRIP 6009
6009    "While testing line strip"
$# TEST_POLYGON 6010
6010    "While testing polygon"
$# TEST_TRIANGLE_FAN 6011
6011    "While testing triangle fan"
$# TEST_TRIANGLES 6012
6012    "While testing triangles"
$# TEST_TRIANGLE_STRIP 6013
6013    "While testing triangle strip"
$# TEST_QUADS 6014
6014    "While testing quads"
$# TEST_QUAD_STRIP 6015
6015    "While testing quad strip"
$# TEST_COLOR_IMAGE_BLIT 6016
6016    "While testing quad strip"
$# TEST_FLAT_SHADING 6017
6017    "While testing flat shading"
$# TEST_COLOR_PER_VERTEX 6018
6018    "While testing color per vertex"
$# TEST_FOG 6019
6019    "While testing fog"
$# TEST_EDGE_FLAGS 6020
6020    "While testing edge flags"
$# TEST_Z_VALUES 6021
6021    "While testing Z values"
$# TEST_STENCIL 6022
6022    "While testing stencil"
$# TEST_1D_TEXTURE 6023
6023    "While testing 1D texture"
$# TEST_2D_TEXTURE 6024
6024    "While testing 2D texture"
$# TEST_POST_TEXTURE_SPECULAR 6025
6025    "While testing post texture specular"
$# TEST_FILL 6026
6026    "While testing fill"
$# TEST_ANTIALIASED_FILL 6026
6026    "While testing antialiased fill"
$# TEST_STIPPLED 6027
6027    "While testing antialiased fill"
$# TEST_OUTLINE_MODE 6028
6028    "While testing outline mode"
$# TEST_POINT_MODE 6029
6029    "While testing point mode"
$# TEST_WIDTH_ONE 6030
6030    "While testing single pixel width"
$# TEST_WIDE 6031
6031    "While testing multiple pixel width"
$# TEST_ANTIALIASED_STIPPLED 6032
6032    "While testing antialiasing and stipple"
$# TEST_DRAW_X_NEG_Y_NEG 6033
6033    "Draw X Negative, Y Negative"
$# TEST_DRAW_X_POS_Y_NEG 6034
6034    "Draw X Positive, Y Negative"
$# TEST_DRAW_X_POS_Y_POS 6035
6035    "Draw X Positive, Y Positive"
$# TEST_DRAW_X_NEG_Y_POS 6036
6036    "Draw X Negative, Y Positive"
$# TEST_ANTIALIASED 6037
6037    "While testing antialiasing"
$# TEST_SCISSOR 6038
6038    "While testing scissor clipping"
$# TEST_DESKTOP_CLIPPING 6039
6039    "While testing desktop clipping"
$# TEST_DESKTOP_CLIPPING 6039
6039    "While testing desktop clipping"
$# TEST_MASK_CLIPPING 6040
6040    "While testing mask clipping"
$# TEST_COLOR_CLAMP 6041
6041    "While testing color clamp"
$# TEST_COLOR_TEST 6042
6042    "While testing color testing"
$# TEST_LOGICOP 6043
6043    "While testing logic op"
$# TEST_COLOR_MATRIX 6044
6044    "While testing color matrix"
$# TEST_COLOR_TABLE 6045
6045    "While testing color table"
$# TEST_WINDOW_ORIGIN 6046
6046    "While testing window origin"
$# TEST_TEXTURE_ENV_BLEND 6047
6047    "While testing window origin"
$# TEST_ALPHA_TEST 6048
6048    "While testing alpha test"
$# TEST_BLEND 6049
6049    "While testing blend"
$# TEST_DEPTH_TEST 6050
6050    "While testing depth test"
$# TEST_PLANE_SET 6051
6051    "While testing plane set"
$# TEST_PIXEL_TEXTURE 6052
6052    "While testing pixel texture"
$# TEST_ACCUM_BUFFER 6053
6053    "While testing accumulation buffer"
$# TEST_FAST_CLEAR 6054
6054    "While testing fast clear"
$# TEST_WRITE_MASK 6055
6055    "While testing write masking"
$# TEST_PIXEL_BUFFER 6056
6056    "While testing pixel buffer"
$# TEST_USE_ALPHA 6057
6057    "While testing \"use alpha\""
$# TEST_PATTERN_TEST_IMAGE_WRITE_MASK 6058
6058    "While pattern testing image write mask"
$# TEST_PATTERN_TEST_STENCIL_REFERENCE 6059
6059    "While pattern testing stencil reference"
$# TEST_WRAP_ENABLED 6060
6060    "While wrap is enabled"
$# TEST_WRAP_DISABLED 6061
6061    "While wrap is disabled"
$# TEST_STENCIL_OP_IS 6062
6062    "While stencil operation is %s"
$# TEST_STENCIL_OP_SELECTION 6063
6063    "While testing stencil op selection"
$# TEST_MASK_INVERT_IS 6064
6064    "While mask invert is %d"
$# TEST_MASK_ENABLE_IS 6065
6065    "While mask enable is %d"
$# TEST_SRC_ALPHA 6066
6066    "While testing source alpha computation"
$# TEST_SRC_COLOR 6067
6067    "While testing source color computation"
$# TEST_DST_ALPHA 6068
6068    "While testing destination alpha computation"
$# TEST_DST_COLOR 6069
6069    "While testing destination color computation"
$# TEST_BLEND_FUNC 6070
6070    "While blend function is %s"
$# TEST_BLEND_COMBINE_FUNC 6071
6071    "While blend combine function is %s"
$# TEST_BLEND_COMBINE_COLOR 6072
6072    "While testing blend combine of color"
$# TEST_BLEND_COMBINE_ALPHA 6073
6073    "While testing blend combine of color"
$# TEST_BLEND_COMBINE_ADVANCED 6074
6074    "While testing advanced blend combiners"
$# TEST_BLEND_PREMULTIPLY 6075
6075    "While testing blend premultiply"
$# TEST_ALPHA_SELECT_IS 6076
6076    "While alpha select is %d"
$# TEST_PREMUL_COLOR_IS 6077
6077    "While color premultiply enable is %d"
$# TEST_PREMUL_ALPHA_IS 6078
6078    "While alpha premultiply enable is %d"
$# TEST_BLEND_CONST_COLOR 6079
6079    "While pattern testing alpha constant color"
$# TEST_PATTERN_TEST_STENCIL_DATA 6080
6080    "While pattern testing stencil data"
$# TEST_PATTERN_TEST_STENCIL_WRITE_MASK 6058
6081    "While pattern testing stencil write mask"
$# TEST_IMAGE_COLOR_CLAMP 6082
6082    "While testing image color clamp"
$# TEST_COLOR_TEST1_COMPARE 6083
6083    "While testing color test 1 compare"
$# TEST_COLOR_TEST2_COMPARE 6084
6084    "While testing color test 2 compare"
$# TEST_COLOR_TEST_COMBINE 6084
6084    "While testing the combination of color test 1 and color test 2"
$# TEST_COLOR_MATRIX_ELEMENT 6085
6085    "While testing color matrix element %d"
$# TEST_COLOR_MATRIX_OFFSET 6086
6086    "While testing color offset element %d"
$# TEST_COLOR_MATRIX_ADDITION 6087
6087    "While testing color matrix addition"
$# TEST_COLOR_MATRIX_3X3 6088
6088    "While testing color matrix 3x3 special case"
$# TEST_COLOR_MATRIX_SCALE 6089
6089    "While testing color matrix scale special case"
$# TEST_COLOR_TABLE_PATTERN 6090
6090    "While pattern testing the color table"
$# TEST_COLOR_TABLE_ADDRESS 6091
6091    "While address testing the color table"
$# TEST_COLOR_TABLE_POSTMATRIX 6092
6092    "While testing post matrix color table"
$# TEST_COLOR_TABLE_PREMATRIX 6093
6093    "While testing pre matrix color table"
$# TEST_COLOR_TABLE_DISABLE_WITH_TEXTURING 6094
6094    "While testing color table disable with texture"
$# TEST_COLOR_TABLE_POSTTEXTURE 6095
6095    "While testing post texture color table"
$# TEST_FOG_TABLE_PATTERN 6096
6096    "While pattern testing the fog table"
$# TEST_FOG_COLOR_PATTERN 6097
6097    "While pattern testing the fog color"
$# TEST_FOG_FACTOR_PATTERN 6098
6098    "While pattern testing the fog color"
$# TEST_DEPTH_WRITE_DISABLE 6099
6099    "While testing depth write disable"
$# TEST_DEPTH_TEST_ENABLE 6100
6100    "While testing depth test enable"
$# TEST_DEPTH_VISIBILITY 6100
6100    "While testing depth visibility test"
$# TEST_PIXELTEX_2D 6101
6101    "While testing 2D pixel texture mapping"
$# TEST_PIXELTEX_1D 6102
6102    "While testing 1D pixel texture mapping"
$# TEST_PBUFFER_BASIC 6103
6103    "While testing basic pbuffer rendering"
$# TEST_PBUFFER_TO_DISPLAY 6104
6104    "While testing pbuffer to display copy"
$# TEST_DISPLAY_TO_PBUFFER 6105
6105    "While testing pbuffer to display copy"
$# TEST_PBUFFER_TO_PBUFFER 6106
6106    "While testing pbuffer to pbuffer copy"
$# TEST_ACCUM_BUFF_FOREGRND 6107
6107    "While pattern testing foreground color for clear"
$# TEST_ACCUM_BUFF_BACKGRND 6108
6108    "While pattern testing background color for clear"
$# TEST_ACCUM_BUFF_TO_DISPLAY 6109
6109    "While testing copy from accumulation buffer to display"
$# TEST_ACCUM_BUFF_MULTIPLY 6110
6110    "While testing accumulation buffer multiply"
$# TEST_ACCUM_BUFF_ACCUM 6111
6111    "While testing accumulation buffer accumulate"
$# TEST_ACCUM_BUFF_BLIT 6112
6112    "While testing accumulation buffer blit"
$# TEST_TEXTURE_ENV_IMAGE 6113
6113    "While testing image blend mode %s"
$# TEST_TEXTURE_ENV_ALPHA 6114
6114    "While testing alpha blend mode %s"
$# TEST_SET_PLANE_IMAGE 6115
6115    "While testing image plane writes"
$# TEST_SET_PLANE_OVERLAY 6116
6116    "While testing overlay plane writes"
$# TEST_SET_PLANE_MASK 6117
6117    "While testing mask plane writes"
$# TEST_FRONT_BUFFER_IS 6118
6118    "While front buffer is %d"
$# TEST_VISIBLE_BUFFER_IS 6119
6119    "While visible buffer is %d"
$# TEST_DRAW_BUFFER_IS 6120
6120    "While draw buffer is %s"
$# TEST_SET_PLANE_IMAGE_READ 6121
6121    "While testing image plane reads"
$# TEST_LOGIC_OP_IS 6122
6122    "While the logic operation is %s"
$# TEST_FAST_CLEAR_IMAGE_COLOR 6123
6123    "While pattern testing fast clear image color"
$# TEST_FAST_CLEAR_IMAGE_ENABLE 6124
6124    "While pattern testing fast clear image enable"
$# TEST_FAST_CLEAR_Z_VALUE 6125
6125    "While pattern testing fast clear Z value"
$# TEST_FAST_CLEAR_STENCIL_VALUE 6126
6126    "While pattern testing fast clear stencil value"
$# TEST_FAST_CLEAR_STENCIL_ENABLE 6127
6127    "While pattern testing fast clear stencil enables"
$# TEST_FAST_CLEAR_DIRTY 6128
6128    "While testing that fast clear bits are invalidated"
$# TEST_COLOR_MATRIX_IDENTITY 6129
6129    "While testing color matrix identity special case"
$# TEST_DEPTH_TEST_DISABLE 6130
6130    "While testing depth test disable"
$# TEST_PIXELTEX_MODE 6131
6131    "While testing pixel texture mode is %s"
$# TEST_READ_BUFFER_IS 6132
6132    "While read buffer is %s"
$# TEST_READ_X_NEG_Y_NEG 6133
6133    "Read X Negative, Y Negative"
$# TEST_READ_X_POS_Y_NEG 6134
6134    "Read X Positive, Y Negative"
$# TEST_READ_X_POS_Y_POS 6135
6135    "Read X Positive, Y Positive"
$# TEST_READ_X_NEG_Y_POS 6136
6136    "Read X Negative, Y Positive"
$# TEST_FRAMEBUFFER_MEMORY 6137
6137	"While testing frame buffer memory"
$# TEST_TEXTURE_MEMORY 6138
6138	"While testing texture memory"
$# TEST_DISPLAYLIST_MEMORY 6139
6139	"While testing display list memory"
$# MEMORY_ERROR_TOTAL 6140
6140	"Out of %d words %d were incorrect, mask of bad pixels is 0x%X"
$# TEST_ADDRESS 6141
6141	"While testing addresses"
$# BAD_WORD_COMPARE 6142
6142	"At word %d expected %X found 0x%X"


$# TEST_HEX_VALUE 6200
6200    "While testing pattern value 0x%X"
$# TEST_CMP_FUNC_IS 6201
6201    "While compare function is %s"
$# TEST_DISABLE 6202
6202    "While testing disable"
$# TEST_ENABLE 6203
6203    "While testing enable"
$# BAD_PIXEL_COMPARE 6204
6204	"At pixel %d,%d expected %X found 0x%X"
$# BAD_PIXEL_SUMMARY 6205
6205    "Out of %d pixels %d were incorrect, mask of bad pixels is 0x%X"
$# PLANE_IMAGE_ZERO 6206
6206	"Error in Image 0 planes"
$# PLANE_IMAGE1 6207
6207	"Error in Image 1 planes"
$# PLANE_OVERLAY_ZERO 6208
6208	"Error in Overlay 0 planes"
$# PLANE_OVERLAY1 6209
6209	"Error in Overlay 1 planes"
$# PLANE_CLIP_MASK 6210
6210	"Error in Clip Mask planes"
$# PLANE_CONTROL 6211
6211	"Error in Control planes"
$# PLANE_STENCIL 6212
6212	"Error in Stencil planes"
$# PLANE_DEPTH 6213
6213	"Error in Depth planes"
$# FBMEM_SUBTEST_ERRMSG 6214
6214	"Error in fbmem test"
$# TEXMEM_SUBTEST_ERRMSG 6215
6215	"Error in texmem test"
$# GEOMENG_SUBTEST_ERRMSG 6216
6216	"Error in geomeng test"
$# RASTERIZATION_SUBTEST_ERRMSG 6217
6217	"Error in rasterization test"
$# PIXELPROC_SUBTEST_ERRMSG 6218
6218	"Error in pixelproc test"
$# DMAENG_SUBTEST_ERRMSG 6219
6219	"Error in dmaeng test"
$# STEREO_SUBTEST_ERRMSG 6220
6220	"Error in stereo test"
$# FBMEM_TEST_RUNNING 6221
6221	"Starting fbmem test"
$# TEXMEM_TEST_RUNNING 6222
6222	"Starting texmem test"
$# DLMEM_TEST_RUNNING 6223
6223	"Starting dlmem test"
$# GEOMENG_TEST_RUNNING 6224
6224	"Starting geomeng test"
$# RASTERIZATION_TEST_RUNNING 6225
6225	"Starting rasterization test"
$# PIXELPROC_TEST_RUNNING 6226
6226	"Starting pixelproc test"
$# DMAENG_TEST_RUNNING 6227
6227	"Starting dmaeng test"
$# STEREO_TEST_RUNNING 6228
6228	"Starting stereo test"

$# IFB_ERROR_LOADING_TEST_MICROCODE 6229
6229  unable to load geometry engine test microcode\n \
Probable_Cause(s): <Software error.> \n \
Recommended_Action(s): <Reinstall software or contact your system administrator.>

$# IFB_STAT_DUT 6300
6300  stat(2) failed trying to get info about Device Under Test.\n \
Probable_Cause(s): <Software error.> \n \
Recommended_Action(s): <Reinstall software or contact your system administrator.>

$# IFB_STAT_SCREEN 6301
6301  stat(2) failed trying to get info about screen 0:%d.\n \
Probable_Cause(s): <Software error.> \n \
Recommended_Action(s): <Reinstall software or contact your system administrator.>

$# IFB_OPEN_DISPLAY 6302
6302  Can't access XWindows.\n \
Probable_Cause(s): <Software error.> \n \
Recommended_Action(s): <Try running xhost(1) or contact your system administrator.>

$# IFB_SYSINFO 6303
6303  sysinfo(2) failed getting hostname. \
Probable_Cause(s): <Software error.> \n \
Recommended_Action(s): <Must be superuser.>\n



$ *******************************
$ FATAL ERROR messages
$ *******************************
$ OPEN_ERROR 8000
8000    "Error opening or mapping the device"
$ DMA_BUFFER_ALLOCATION_ERROR 8001
8001	"Error allocating a DMA buffer"
$# IFB_ERROR_LOADING_STANDARD_MICROCODE 8002
8002  Unable to restore geometry engine microcode\n \
This machine may need to be rebooted\n \
Probable_Cause(s): <Software error.> \n \
Recommended_Action(s): <Reinstall software or contact your system administrator.>
