Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

282 lines
6.9 KiB

4 years ago
  1. @echo off
  2. setlocal
  3. set bindir=
  4. set progname=%0
  5. set testlist=conform\TESTLIST
  6. if (%PROCESSOR_ARCHITECTURE%)==(x86) set bindir=i386
  7. if (%PROCESSOR_ARCHITECTURE%)==(X86) set bindir=i386
  8. if (%PROCESSOR_ARCHITECTURE%)==(mips) set bindir=mips
  9. if (%PROCESSOR_ARCHITECTURE%)==(MIPS) set bindir=mips
  10. if (%PROCESSOR_ARCHITECTURE%)==(Mips) set bindir=mips
  11. if (%PROCESSOR_ARCHITECTURE%)==(ALPHA) set bindir=alpha
  12. if (%PROCESSOR_ARCHITECTURE%)==(alpha) set bindir=alpha
  13. if (%PROCESSOR_ARCHITECTURE%)==(Alpha) set bindir=alpha
  14. if (%PROCESSOR_ARCHITECTURE%)==(PowerPC) set bindir=ppc
  15. if (%PROCESSOR_ARCHITECTURE%)==(ppc) set bindir=ppc
  16. if (%PROCESSOR_ARCHITECTURE%)==(PPC) set bindir=ppc
  17. if (%bindir%)==() goto badenv
  18. set bindir=obj\%bindir%
  19. REM
  20. REM Parse Options
  21. REM
  22. set report=
  23. :newopt
  24. shift
  25. if (%0)==() goto nomoreopt
  26. if (%0)==(-r) set report=1
  27. if (%0)==(-R) set report=1
  28. if (%0)==(-report) set report=1
  29. if (%0)==(-REPORT) set report=1
  30. if (%0)==(-Report) set report=1
  31. if (%0)==(-?) goto usage
  32. if (%0)==(-h) goto usage
  33. if (%0)==(-help) goto usage
  34. if (%0)==(-HELP) goto usage
  35. if (%0)==(-Help) goto usage
  36. shift
  37. goto newopt
  38. :nomoreopt
  39. if (%report%)==() goto suite
  40. echo+
  41. echo **********************************************************************
  42. echo OpenGL Conformance Report.
  43. echo **********************************************************************
  44. echo+
  45. echo+
  46. echo This OpenGL Conformance Certification Report (\Report\) is
  47. echo+
  48. echo+
  49. echo made the _____ day of _____________, 199___
  50. echo+
  51. echo+
  52. echo by _________________________________________________________,
  53. echo+
  54. echo+
  55. echo a _____________________________ corporation having a place of
  56. echo+
  57. echo+
  58. echo business at ________________________________________________
  59. echo+
  60. echo+
  61. echo ____________________________________________________________.
  62. echo+
  63. echo+
  64. echo+
  65. echo+
  66. echo This Report will be made available to anyone who requests the
  67. echo Report from the Secretary of the Architectural Review Board.
  68. echo This Report certifies Licensee ran the Conformance Tests of
  69. echo OpenGL Release __________ on the OpenGL implementation on the
  70. echo configuration written below (include names of CPU, graphics
  71. echo options, add-ons, O/S release, window systems, or other
  72. echo identifying information):
  73. echo+
  74. echo+
  75. echo+
  76. echo+
  77. echo+
  78. echo+
  79. echo+
  80. echo+
  81. echo+
  82. echo+
  83. echo+
  84. echo+
  85. echo+
  86. echo+
  87. echo Licensee believes that the results of these Conformance Tests
  88. echo can be generalized and that the results would be identical,
  89. echo if run on the configurations listed below (include names of
  90. echo CPU, graphics options, add-ons, O/S release, window systems,
  91. echo or other identifying information):
  92. echo+
  93. echo+
  94. echo+
  95. echo+
  96. echo+
  97. echo+
  98. echo+
  99. echo+
  100. echo+
  101. echo+
  102. echo+
  103. echo+
  104. echo+
  105. echo+
  106. echo+
  107. echo These conformance tests are run from the provided script,
  108. echo conform.base1. This is the required script for configurations
  109. echo which do not list the X Window System in either of the
  110. echo immediately preceding two sections.
  111. echo+
  112. echo By checking off the boxes below, the associated statement is
  113. echo certified to be true:
  114. echo+
  115. echo+
  116. echo _
  117. echo [_] The implementation on the configuration listed above
  118. echo passes the basic conformance test suite (mustpass, covgl,
  119. echo covglu, and primtest).
  120. echo+
  121. echo+
  122. echo Conformance Suite
  123. echo _
  124. echo [_] The conformance suite has been run on the OpenGL
  125. echo implementation as configured above, and these are the results
  126. echo of running the conformance suite.
  127. echo+
  128. echo+
  129. REM
  130. REM Is there another command that only prints the date and time???
  131. REM
  132. :suite
  133. echo+ | date | qgrep -v "Enter the new"
  134. echo+ | time | qgrep -v "Enter the new"
  135. echo+
  136. set SEED=1
  137. echo **********************************************************************
  138. echo OpenGL Conformance Suite.
  139. echo **********************************************************************
  140. echo+
  141. echo **********************************************************************
  142. echo covgl.
  143. echo **********************************************************************
  144. echo+
  145. @echo on
  146. covgl\%bindir%\covgl
  147. @echo off
  148. echo **********************************************************************
  149. echo conform.
  150. echo **********************************************************************
  151. echo+
  152. rem @ SEED = %SEED% + 1
  153. @echo on
  154. confshel\%bindir%\confshel -r %SEED% -1 mustpass.c
  155. confshel\%bindir%\confshel -r %SEED% -f %testlist%
  156. @echo off
  157. echo **********************************************************************
  158. echo+
  159. rem @ SEED = %SEED% + 1
  160. @echo on
  161. confshel\%bindir%\confshel -r %SEED% -f %testlist% -p 1
  162. @echo off
  163. echo **********************************************************************
  164. echo+
  165. rem @ SEED = %SEED% + 1
  166. @echo on
  167. confshel\%bindir%\confshel -r %SEED% -f %testlist% -p 2
  168. @echo off
  169. echo **********************************************************************
  170. echo+
  171. rem @ SEED = %SEED% + 1
  172. @echo on
  173. confshel\%bindir%\confshel -r %SEED% -f %testlist% -p 3
  174. @echo off
  175. echo+
  176. echo **********************************************************************
  177. echo primtest.
  178. echo **********************************************************************
  179. echo+
  180. @echo on
  181. primtest\%bindir%\primtest
  182. @echo off
  183. echo+
  184. echo **********************************************************************
  185. echo covglu.
  186. echo **********************************************************************
  187. echo+
  188. @echo on
  189. covglu\%bindir%\covglu
  190. @echo off
  191. echo+
  192. echo **********************************************************************
  193. echo conformance suite completed.
  194. echo **********************************************************************
  195. echo+ | date | qgrep -v "Enter the new"
  196. echo+ | time | qgrep -v "Enter the new"
  197. if (%report%)==() goto end
  198. echo+
  199. echo+
  200. echo+
  201. echo+
  202. echo+
  203. echo+
  204. echo+
  205. echo Comment Field
  206. echo+
  207. echo The licensee may add a statement below which will be provided
  208. echo along with the rest of the Report to all who request this
  209. echo Report.
  210. echo+
  211. echo+
  212. echo+
  213. echo+
  214. echo+
  215. echo+
  216. echo+
  217. echo+
  218. echo+
  219. echo+
  220. echo+
  221. echo+
  222. echo+
  223. echo+
  224. echo+
  225. echo+
  226. echo+
  227. echo+
  228. echo+
  229. echo+
  230. echo+
  231. echo SILICON GRAPHICS LICENSEE
  232. echo+
  233. echo+
  234. echo By: _____________________________ By: _____________________________
  235. echo+
  236. echo+
  237. echo _________________________________ _________________________________
  238. echo NAME (PRINT OR TYPE) NAME (PRINT OR TYPE)
  239. echo+
  240. echo _________________________________ _________________________________
  241. echo TITLE TITLE
  242. echo+
  243. echo _________________________________ _________________________________
  244. echo DATE DATE
  245. echo+
  246. goto end
  247. :badenv
  248. echo %progname% : Error PROCESSOR_ARCHITECTURE is not set
  249. echo set PROCESSOR_ARCHITECTURE to x86, MIPS, ALPHA or PPC and try again
  250. goto end
  251. :help
  252. goto end
  253. :usage
  254. echo usage: %progname% [-rh]
  255. echo+
  256. echo -r Print a report
  257. goto end
  258. :end
  259. endlocal