From a174cadedbb383c2dbc4acd1b4684e241843e4c8 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Sat, 12 Nov 2011 14:53:43 +0000
Subject: [PATCH] From Pere: This fixes the running of stressGraphics test by
 having hsimple.cxx to have the same number of entries as tutorials/hsimple.C.

git-svn-id: http://root.cern.ch/svn/root/trunk@41948 27541ba8-7e3a-0410-8455-c3a389f83636
---
 test/CMakeLists.txt | 3 +++
 test/hsimple.cxx    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 5ec389e8cb5..86942f29847 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -17,6 +17,9 @@ if(NOT CMAKE_GENERATOR MATCHES Makefiles)
   set(cfg $<CONFIGURATION>/)
 endif() 
 
+#---environment-------------------------------------------------------------------------------
+ROOT_ADD_TEST(show-environment COMMAND ${CMAKE_COMMAND} -E environment)
+
 #---hworld------------------------------------------------------------------------------------
 ROOT_EXECUTABLE(hworld hworld.cxx LIBRARIES Gpad)
 
diff --git a/test/hsimple.cxx b/test/hsimple.cxx
index 1dce3a1a754..5c081b6c81e 100644
--- a/test/hsimple.cxx
+++ b/test/hsimple.cxx
@@ -48,7 +48,7 @@ int hsimple()
 
   // Fill histograms randomly
   Float_t px, py, pz;
-  for ( Int_t i=0; i<10000; i++) {
+  for ( Int_t i=0; i<25000; i++) {
      gRandom->Rannor(px,py); //px and py will be two gaussian random numbers
      pz = px*px + py*py;
      Float_t random = gRandom->Rndm(1);
-- 
GitLab