Annotation of parser3/tests/httpd/code-cache/site/config.p, revision 1.1
1.1 ! moko 1: # the files it loads are compiled once, when the server starts (feature #1302)
! 2:
! 3: @conf[filespec]
! 4: $HTTPD[
! 5: $.mode[^if(def $env:TEST_HTTPD_MODE){$env:TEST_HTTPD_MODE}{sequental}]
! 6: $.code-cache(!def $env:TEST_NO_CODE_CACHE)
! 7: ]
! 8:
! 9: @auto[]
! 10: ^use[cached.p]
! 11: # made by run_tests.sh
! 12: ^use[changing.p]
! 13: # other code under the name of a file the tests load: not to be cached as that file
! 14: ^process{$processed(true)}[$.file[extend.p]]
! 15: # cached when the server starts, but not loaded by the config in requests: the tests meet them later
! 16: ^if(!def $request:uri){
! 17: ^reflection:class_alias[Counter;Late_base]
! 18: ^use[late.p]
! 19: }
! 20:
! 21: @unhandled_exception[exception;stack]
! 22: $exception.type: $exception.comment (^file:basename[$exception.file]:$exception.lineno)
! 23:
! 24:
! 25: @CLASS
! 26: httpd
! 27:
! 28: @main[]
! 29: ^use[tests.p]
! 30: $result[^MAIN:main[]]
E-mail: