There are multiple approaches to get green tests :)


Am 08.01.2014 um 14:00 schrieb Sven Van Caekenberghe <[email protected]>:



Norbert

On 08 Jan 2014, at 13:37, Marcus Denker <[email protected]> wrote:


Well, it should be something like:

JENKINS = ci.inria.fr

Then the guard for the unit test could be

(OSPlatform current environment at: #JENKINS ifAbsent: [ '' ]) = 'ci.inria.fr'
ifTrue: [ ^ self ]

to skip the test only on the INRIA CI servers.

Maybe CI instead of JENKINS is a more general name.



Ok, I added

CI =  ci.inria.fr

to the windows slaves

OK, let's do this then:

==
Name: Zinc-Zodiac-SvenVanCaekenberghe.28
Author: SvenVanCaekenberghe
Time: 8 January 2014, 1:57:17.629973 pm
UUID: 5c5d4ae3-5db1-4367-adfe-6341cda0fc41
Ancestors: Zinc-Zodiac-SvenVanCaekenberghe.27

Add a guard to ZnHTTPSTests>>#testGetPharoVersion to skip the whole test when #runningOnWindowsInriaCI
===

This is now in the upstream repositories, I will make a slice for https://pharo.fogbugz.com/f/cases/12377/ZnHTTPSTests-testGetPharoVersion-fails-on-Windows-slave

Sven

Reply via email to