Support #720
Different test behaviour between desktop and test server
100%
Description
Email from Edward:
I don't understand where is this seg fault in SciFiPlaneTest coming from.
In my laptop, I have the rest included, I do scons -c; scons; ./run_tests and everything is fine; in jenkins there's always a seg fault.
--
Reply from Rogers:
The place I have run into trouble between desktop and server is that the
test scripts are generally in a random order. So if you allocate or free
some memory in one test, you can accidentally use that - or not - in
another test. Particularly bad with geant4 because geant4 can't clear
it's memory allocation (i.e. it has nasty globals that never get freed).
So you can find that you allocated a nasty G4 global in one test, and
then try to do something in another test and it works or not depending
on the unit test order.
Basically Geant4 sloppiness...
No data to display