quickSelfTest/SelfTest.st
changeset 3 62bd5f071940
parent 2 2e9d1362e0ad
child 4 4674a8d2574e
equal deleted inserted replaced
2:2e9d1362e0ad 3:62bd5f071940
     1 "/
     1 "/
     2 "/ execute this script using the following command line:
     2 "/ execute this script using the following command line:
     3 "/
     3 "/
     4 "/ stx -nobanner -I --quick --execute SelfTest.st
     4 "/ stx -nobanner -I --quick --execute SelfTest.st
     5 "/
     5 "/
       
     6 "/ to use with jenkins (+ perfPublisher plugin):
       
     7 "/ use the following buildscript:
       
     8 "/ (after checkout of stx)
       
     9 "/      cd stx
       
    10 "/      call bmake
       
    11 "/      cd goodies\selftest
       
    12 "/      ..\..\projects\smalltalk\stx.com --noBanner -I --execute SelfTest.st
       
    13 "/
       
    14 "/ and configure the perfPublisher jenkins plugin, to scan for "testresult.xml"
       
    15 
     6 Object infoPrinting:false.
    16 Object infoPrinting:false.
     7 ObjectMemory infoPrinting:false.
    17 ObjectMemory infoPrinting:false.
     8 Processor activeProcess exceptionHandlerSet
    18 Processor activeProcess exceptionHandlerSet
     9     on:(Class updateChangeFileQuerySignal)
    19     on:(Class updateChangeFileQuerySignal)
    10     do:[:ex | ex proceedWith:false ].
    20     do:[:ex | ex proceedWith:false ].
    24 !
    34 !
    25 
    35 
    26 |result|
    36 |result|
    27 
    37 
    28 result := RegressionTests::IntegerTest runTests.
    38 result := RegressionTests::IntegerTest runTests.
    29 TestResultReporter report:result format:#xml_perfPublisher as:'IntegerTest.result.xml'.
    39 TestResultReporter report:result format:#xml_perfPublisher as:'testresult.xml'.
    30 
    40 
    31 "/Autoload allSubclassesDo:[:cls |
    41 "/Autoload allSubclassesDo:[:cls |
    32 "/    cls package = 'exept:regression' ifTrue:[
    42 "/    cls package = 'exept:regression' ifTrue:[
    33 "/        Stdout << cls name; cr.
    43 "/        Stdout << cls name; cr.
    34 "/        cls runTests.
    44 "/        cls runTests.