--- a/quickSelfTest/SelfTest.st Wed Mar 23 22:09:39 2016 +0100
+++ b/quickSelfTest/SelfTest.st Wed Mar 23 23:08:42 2016 +0100
@@ -3,9 +3,10 @@
"/ execute this script using the following command line:
"/
"/ stx --noBanner -I --execute SelfTest.st
+"/
"/ use --debug to debug failed test cases.
"/
-"/ to use with jenkins (+ jUnit plugin):
+"/ To use with jenkins (+ jUnit plugin):
"/ use the following buildscript (in jenkins):
"/ (after checkout of stx)
"/ cd stx
@@ -14,12 +15,15 @@
"/ ..\..\projects\smalltalk\stx.com --noBanner -I --execute SelfTest.st
"/
"/ and configure the jenkins junit plugin, to scan for "testresult.xml"
+"/ ------------------------------------------------------------------------------------
"/ tell the system, where stx is...
ParserFlags initializeSTCFlagsForTopDirectory:'../../..'.
Object infoPrinting:false.
ObjectMemory infoPrinting:false.
+
+"/ install a global handler, which suppresses the updating of the change file
Processor activeProcess exceptionHandlerSet
on:(Class updateChangeFileQuerySignal)
do:[:ex | ex proceedWith:false ].
@@ -29,6 +33,8 @@
!
Smalltalk packagePath addFirst:'../../../..'.
+
+"/ ensure that some packages are present
Stdout showCR:'Loading sunit...'.
Smalltalk loadPackage:'stx:goodies/sunit'.
self assert:(TestCase notNil and:[TestCase isLoaded]) message:'[Error]: Missing TestCase class after sunit package load'.
@@ -52,7 +58,6 @@
Stdout showCR:('ERROR: Ouch - missing class: "exept_regression"').
Smalltalk exit: 1.
].
-exept_regression ensureFullyLoaded.
(Smalltalk at: #'exept_regression') testCaseNamesWithoutNamespace do:[:className |
|fullName|