OLD | NEW |
1 # | 1 # |
2 # Test Requirements: | 2 # Test Requirements: |
3 # | 3 # |
4 # Each sample is expected to have a global variable called g_finished | 4 # Each sample is expected to have a global variable called g_finished |
5 # that is set to true when the sample has finish initalizing and is ready | 5 # that is set to true when the sample has finish initalizing and is ready |
6 # for a screenshot. | 6 # for a screenshot. |
7 # | 7 # |
8 # Line Format: | 8 # Line Format: |
9 # | 9 # |
10 # TestType test-name options | 10 # TestType test-name options |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 # | 42 # |
43 # pdiff_threshold_mac(number_of_pixels_allowed) | 43 # pdiff_threshold_mac(number_of_pixels_allowed) |
44 # pdiff_threshold_win(number_of_pixels_allowed) | 44 # pdiff_threshold_win(number_of_pixels_allowed) |
45 # pdiff_threshold_linux(number_of_pixels_allowed) | 45 # pdiff_threshold_linux(number_of_pixels_allowed) |
46 # pdiff_threshold(number_of_pixels_allowed) : Number of pixels | 46 # pdiff_threshold(number_of_pixels_allowed) : Number of pixels |
47 # allowed to be perceptually different before the test fails. | 47 # allowed to be perceptually different before the test fails. |
48 # "pdiff_threshold" specifies the threshold for all | 48 # "pdiff_threshold" specifies the threshold for all |
49 # platforms. Platform specific versions override the | 49 # platforms. Platform specific versions override the |
50 # threshold for that platform. The default threshold is 10 pixels. | 50 # threshold for that platform. The default threshold is 10 pixels. |
51 # | 51 # |
52 # except(*firefox, *iexplore, *googlechrome) : Name of the browser | 52 # except(*firefox,*iexplore,*googlechrome) : Name of the browser |
53 # environment(s) where the test should be skipped. | 53 # environment(s) where the test should be skipped. This list should |
| 54 # not have spaces between the browser names. |
54 # Default = "" | 55 # Default = "" |
55 # | 56 # |
56 # colorfactor(0 to 1) : Determines how important color is for comparison. A | 57 # colorfactor(0 to 1) : Determines how important color is for comparison. A |
57 # value of 1 means they must be exactly the same; a value of 0 means it | 58 # value of 1 means they must be exactly the same; a value of 0 means it |
58 # won't factor in at all. | 59 # won't factor in at all. |
59 # | 60 # |
60 # downsample(number_of_times_to_halve_resolution) : The resolution will be | 61 # downsample(number_of_times_to_halve_resolution) : The resolution will be |
61 # cut in half this number of times before comparing. It is useful for | 62 # cut in half this number of times before comparing. It is useful for |
62 # eliminating aliasing artifacts since such differences are less | 63 # eliminating aliasing artifacts since such differences are less |
63 # noticeable at the lower resolution. Be careful with using this parameter | 64 # noticeable at the lower resolution. Be careful with using this parameter |
64 # as it may mask other problems. | 65 # as it may mask other problems. |
65 # | 66 # |
66 # pdiff_edge_ignore_off : Turn off edge detection function in pdiff. | 67 # pdiff_edge_ignore_off : Turn off edge detection function in pdiff. |
67 # By default, it's on with a default edge detect threshold 5. | 68 # By default, it's on with a default edge detect threshold 5. |
68 # | 69 # |
69 # pdiff_edge_threshold(0 to 7) : Set edge detect threshold in pdiff. | 70 # pdiff_edge_threshold(0 to 7) : Set edge detect threshold in pdiff. |
70 # This threshold indicates the max number of neighbors the pixel can | 71 # This threshold indicates the max number of neighbors the pixel can |
71 # have to be considered as edge. 0 means only ignore scattered pixels. | 72 # have to be considered as edge. 0 means only ignore scattered pixels. |
72 # NOTE! ---------------------------------------------------------------------- | 73 # NOTE! ---------------------------------------------------------------------- |
73 # | 74 # |
74 # Read the sample guidelines | 75 # Read the sample guidelines |
75 # http://wiki.corp.google.com/twiki/bin/view/Main/ClientThreeDSampleGuidelines | 76 # http://wiki.corp.google.com/twiki/bin/view/Main/ClientThreeDSampleGuidelines |
76 # | 77 # |
77 # | 78 # |
78 medium 2d screenshot timeout(30000) pdiff_thresh
old(200) pdiff_threshold_mac(41200) colorfactor(0.8) downsample(1) | 79 medium 2d screenshot timeout(30000) pdiff_thresh
old(200) pdiff_threshold_mac(41200) colorfactor(0.8) downsample(1) |
79 medium animation | 80 medium animation |
80 large animated-scene screenshot timeout(55000) pdiff_thresh
old(200) | 81 large animated-scene screenshot timeout(55000) pdiff_thresh
old(200) |
81 large beachdemo/beachdemo screenshot timeout(120000) pdiff_thres
hold(200) pdiff_threshold_mac(2100) downsample(1) except(*iexplore, *googlechrom
e) | 82 large beachdemo/beachdemo screenshot timeout(120000) pdiff_thres
hold(200) pdiff_threshold_mac(2100) downsample(1) except(*iexplore,*googlechrome
) |
82 medium billboards screenshot pdiff_threshold(200) | 83 medium billboards screenshot pdiff_threshold(200) |
83 medium bitmap-draw-image screenshot pdiff_threshold(200) | 84 medium bitmap-draw-image screenshot pdiff_threshold(200) |
84 medium canvas screenshot pdiff_threshold(200) pdiff_
threshold_mac(14600) | 85 medium canvas screenshot pdiff_threshold(200) pdiff_
threshold_mac(14600) |
85 medium canvas-fonts screenshot pdiff_threshold(200) pdiff_
threshold_mac(21900) | 86 medium canvas-fonts screenshot pdiff_threshold(200) pdiff_
threshold_mac(21900) |
86 medium canvas-texturedraw | 87 medium canvas-texturedraw |
87 medium checkers screenshot pdiff_threshold(200) | 88 medium checkers screenshot pdiff_threshold(200) |
88 medium convolution screenshot pdiff_threshold(200) | 89 medium convolution screenshot pdiff_threshold(200) |
89 medium culling screenshot(9) pdiff_threshold(450) dow
nsample(1) | 90 medium culling screenshot(9) pdiff_threshold(450) dow
nsample(1) |
90 medium debugging screenshot pdiff_threshold(200) pdiff_
threshold_mac(3000) | 91 medium debugging screenshot pdiff_threshold(200) pdiff_
threshold_mac(3000) |
91 medium displayfps | 92 medium displayfps |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 medium GoogleIO-2009/step09ex screenshot pdiff_threshold(200) | 124 medium GoogleIO-2009/step09ex screenshot pdiff_threshold(200) |
124 large GoogleIO-2009/step14ex screenshot pdiff_threshold(200) timeou
t(45000) downsample(1) | 125 large GoogleIO-2009/step14ex screenshot pdiff_threshold(200) timeou
t(45000) downsample(1) |
125 | 126 |
126 # -- tests below this line are tests for which there is a python | 127 # -- tests below this line are tests for which there is a python |
127 # function to custom run the test. As such, only the 'except' and | 128 # function to custom run the test. As such, only the 'except' and |
128 # pdiff_threshold options have any meaning | 129 # pdiff_threshold options have any meaning |
129 | 130 |
130 small TestSampleErrorTextureSmall pdiff_threshold(200) screenshots(5) | 131 small TestSampleErrorTextureSmall pdiff_threshold(200) screenshots(5) |
131 small TestSampleHelloCube_TexturesSmall pdiff_threshold(450) screenshot | 132 small TestSampleHelloCube_TexturesSmall pdiff_threshold(450) screenshot |
132 # IE and chrome hang on this test. | 133 # IE and chrome hang on this test. |
133 small TestSampleRefreshPageLoad_Small except(*iexplore, *googlechrome) | 134 small TestSampleRefreshPageLoad_Small except(*iexplore,*googlechrome) |
134 medium TestSampleCustomCamera pdiff_threshold(200) pdiff_threshold_w
in(200) screenshot run_time(180000) | 135 medium TestSampleCustomCamera pdiff_threshold(200) pdiff_threshold_w
in(200) screenshot run_time(180000) |
135 medium TestSamplePicking run_time(60000) | 136 medium TestSamplePicking run_time(60000) |
136 medium TestSampleRenderMode run_time(60000) | 137 medium TestSampleRenderMode run_time(60000) |
137 medium TestSampleRotateModel pdiff_threshold(200) screenshots(2) ru
n_time(100000) | 138 medium TestSampleRotateModel pdiff_threshold(200) screenshots(2) ru
n_time(100000) |
138 medium TestSampleShader_Test pdiff_threshold(200) pdiff_threshold_w
in(200) screenshots(13) | 139 medium TestSampleShader_Test pdiff_threshold(200) pdiff_threshold_w
in(200) screenshots(13) |
139 # IE takes several minutes just loading this test. | 140 # IE takes several minutes just loading this test. |
140 large TestSampleMultipleClientsLarge run_time(180000) except(*iexplore) | 141 large TestSampleMultipleClientsLarge run_time(180000) except(*iexplore) |
141 large TestSamplePingPongLarge | 142 large TestSamplePingPongLarge |
142 # This test currently fails on IE as it considers localhost: to be a trusted | 143 # This test currently fails on IE as it considers localhost: to be a trusted |
143 # domain. | 144 # domain. |
144 # Do not run this test until get rid of scons. It assumes a particular | 145 # Do not run this test until get rid of scons. It assumes a particular |
145 # directory structure to find an asset. Need to change to reflect new gyp | 146 # directory structure to find an asset. Need to change to reflect new gyp |
146 # directory structure. Should be changed when scons is gone. | 147 # directory structure. Should be changed when scons is gone. |
147 #small TestLoadTextureFromFileSmall except(*iexplore) | 148 #small TestLoadTextureFromFileSmall except(*iexplore) |
OLD | NEW |