-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure SDL2 initialized to avoid segfault in CI headless image
- Loading branch information
1 parent
25702a1
commit b714ad3
Showing
2 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,73 @@ | ||
Class { | ||
#name : 'BlocBenchsSmokeTest', | ||
#superclass : 'TestCase', | ||
#category : 'BlocBenchs-Tests', | ||
#package : 'BlocBenchs-Tests' | ||
#name : #BlocBenchsSmokeTest, | ||
#superclass : #TestCase, | ||
#category : #'BlocBenchs-Tests' | ||
} | ||
|
||
{ #category : 'accessing' } | ||
{ #category : #accessing } | ||
BlocBenchsSmokeTest >> defaultTimeLimit [ | ||
|
||
^ 5 minutes | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testAeBenchManySiblingsRunner [ | ||
|
||
AeBenchFigureGridRunner new run | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testBlMouseMoveBenchmark [ | ||
|
||
BlMouseMoveBenchmark exampleRun | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testBlProfileRunner [ | ||
|
||
BlProfileRunner exampleAll | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testPCBenchmarker1 [ | ||
|
||
PCBenchmarker exampleAllBenchs | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testPCBenchmarker2 [ | ||
|
||
PCBenchmarker exampleAllBenchsWithRaw | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testPCBenchmarker3 [ | ||
|
||
PCBenchmarker exampleProfileCaseWithFlameGraph | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testPCOSWindowScrollingExample1 [ | ||
|
||
PCOSWindowScrollingExample new | ||
beFlatScrolling; | ||
open | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testPCOSWindowScrollingExample2 [ | ||
|
||
PCOSWindowScrollingExample new | ||
beInertialScrolling; | ||
open | ||
] | ||
|
||
{ #category : 'tests' } | ||
{ #category : #tests } | ||
BlocBenchsSmokeTest >> testSDLShapedWindowExample [ | ||
|
||
OSPlatform current isMacOS ifTrue: [ | ||
OSPlatform current isMacOS ifTrue: [ | ||
"Ensure initialized to avoid segfault in CI headless image" | ||
OSSDL2Driver current. | ||
|
||
SDLShapedWindowExample exampleByColorKey ] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Package { #name : 'BlocBenchs-Tests' } | ||
Package { #name : #'BlocBenchs-Tests' } |