summaryrefslogtreecommitdiff
path: root/testautomation/global/system
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-08 15:57:28 +0100
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-08 15:57:28 +0100
commit2b564de7959dba0082fa86effb15c5e468396a5e (patch)
treeff2ec6fc30afda85fb6631b9f058b28dc967fcf3 /testautomation/global/system
parent649f9edb33b5901b5bd796fcffb0320bc317cae1 (diff)
vitomation01: #i109562 - Some time ago it was decided that a global variable be introduced which switches on and off between verbose mode for functions. THis is needed for profiling. The variable is called GVERBOSE and is set to FALSE in master.inc::getUseFiles()
Diffstat (limited to 'testautomation/global/system')
-rw-r--r--testautomation/global/system/includes/gvariabl.inc3
-rw-r--r--testautomation/global/system/includes/master.inc2
2 files changed, 5 insertions, 0 deletions
diff --git a/testautomation/global/system/includes/gvariabl.inc b/testautomation/global/system/includes/gvariabl.inc
index 9bd9754f9a24..a654ec22d7bc 100644
--- a/testautomation/global/system/includes/gvariabl.inc
+++ b/testautomation/global/system/includes/gvariabl.inc
@@ -173,6 +173,9 @@ Global gOOoImprovementIsEnabled as boolean
'///* Performance flags
Global GLOBAL_USE_NEW_SLEEP as boolean ' keep the old sleep() behavior
+'///* If set to TRUE in master.inc many functions become more talkative
+Global GVERBOSE as boolean
+
sub OnlyForDocuGVariables
'///<b>System for the installed Office</b>
'///<i>gPlatform</i>: Operatingsystem (internal shortkey)
diff --git a/testautomation/global/system/includes/master.inc b/testautomation/global/system/includes/master.inc
index 6e5dc7e9d2af..d67de29994bd 100644
--- a/testautomation/global/system/includes/master.inc
+++ b/testautomation/global/system/includes/master.inc
@@ -70,6 +70,8 @@ sub GetUseFiles
gTestcaseStart = Now() ' get start time of test preparation phase
+ GVERBOSE = FALSE
+
use "global\system\includes\sysinfo.inc" '///+ sysinfo.inc : routines to get all system informations
use "global\system\includes\inivalue.inc" '///+ inivalue.inc : routines to work with ini-files
use "global\system\includes\iniinfo.inc" '///+ iniinfo.inc : routines to get all informations about OpenOffice.org