*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Wed, 23 Mar 2016 23:08:42 +0100
changeset 3098061d7da3fc3
parent 308 088aeaafa202
child 310 1fecaf68f3b4
*** empty log message ***
quickSelfTest/SelfTest.st
     1.1 --- a/quickSelfTest/SelfTest.st	Wed Mar 23 22:09:39 2016 +0100
     1.2 +++ b/quickSelfTest/SelfTest.st	Wed Mar 23 23:08:42 2016 +0100
     1.3 @@ -3,9 +3,10 @@
     1.4  "/ execute this script using the following command line:
     1.5  "/
     1.6  "/ stx --noBanner -I --execute SelfTest.st
     1.7 +"/
     1.8  "/   use --debug to debug failed test cases.
     1.9  "/
    1.10 -"/ to use with jenkins (+ jUnit plugin):
    1.11 +"/ To use with jenkins (+ jUnit plugin):
    1.12  "/ use the following buildscript (in jenkins):
    1.13  "/ (after checkout of stx)
    1.14  "/      cd stx
    1.15 @@ -14,12 +15,15 @@
    1.16  "/      ..\..\projects\smalltalk\stx.com --noBanner -I --execute SelfTest.st
    1.17  "/
    1.18  "/ and configure the jenkins junit plugin, to scan for "testresult.xml"
    1.19 +"/ ------------------------------------------------------------------------------------
    1.20  
    1.21  "/ tell the system, where stx is...
    1.22  ParserFlags initializeSTCFlagsForTopDirectory:'../../..'.
    1.23  
    1.24  Object infoPrinting:false.
    1.25  ObjectMemory infoPrinting:false.
    1.26 +
    1.27 +"/ install a global handler, which suppresses the updating of the change file
    1.28  Processor activeProcess exceptionHandlerSet
    1.29      on:(Class updateChangeFileQuerySignal)
    1.30      do:[:ex | ex proceedWith:false ].
    1.31 @@ -29,6 +33,8 @@
    1.32  !
    1.33  
    1.34  Smalltalk packagePath addFirst:'../../../..'.
    1.35 +
    1.36 +"/ ensure that some packages are present
    1.37  Stdout showCR:'Loading sunit...'.
    1.38  Smalltalk loadPackage:'stx:goodies/sunit'.
    1.39  self assert:(TestCase notNil and:[TestCase isLoaded]) message:'[Error]: Missing TestCase class after sunit package load'.
    1.40 @@ -52,7 +58,6 @@
    1.41      Stdout showCR:('ERROR: Ouch - missing class: "exept_regression"').
    1.42      Smalltalk exit: 1.
    1.43  ].
    1.44 -exept_regression ensureFullyLoaded.
    1.45  
    1.46  (Smalltalk at: #'exept_regression') testCaseNamesWithoutNamespace do:[:className |
    1.47      |fullName|