diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5ec389e8cb5266b080d6e22435b626b5b3971855..86942f2984798812dde2af475d04cd533f08a55d 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 1dce3a1a7548a923e7f10d6445e59a214808c27a..5c081b6c81e02cf8ea77f83550a11d1326846d1a 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);