s/BenchmarkExecutionFailure.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 12 Feb 2020 15:09:57 +0000
changeset 318 1b735d3747d8
parent 302 30fc156ff773
permissions -rw-r--r--
Use launcher script to run smalltalk ...rather than binary. This makes it work in both, in-tree builds and (new) out-of-tree builds.

"{ Package: 'jv:calipel/s' }"

"{ NameSpace: Smalltalk }"

Error subclass:#BenchmarkExecutionFailure
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'CalipeL-S-Core-Runner'
!

!BenchmarkExecutionFailure class methodsFor:'queries'!

mayProceed
    ^ true

    "Created: / 22-10-2015 / 15:04:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!BenchmarkExecutionFailure methodsFor:'Compatibility-Squeak'!

signal: aString

    Smalltalk isSmalltalkX ifTrue:[ 
        ^ self raiseRequestErrorString:aString in: thisContext sender.
    ].
    ^ super signal: aString

    "Created: / 22-10-2015 / 15:14:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!BenchmarkExecutionFailure methodsFor:'testing'!

isResumable
    ^ true

    "Created: / 22-10-2015 / 15:04:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !