From f8ae4740c650bada784aa8f1c1ace54961052c7d 2012-05-10 06:55:12 From: Jani Honkonen Date: 2012-05-10 06:55:12 Subject: [PATCH] run_tests.pl: adding more comments --- diff --git a/test/scripts/run_tests.pl b/test/scripts/run_tests.pl index 5ac558e..d489b11 100644 --- a/test/scripts/run_tests.pl +++ b/test/scripts/run_tests.pl @@ -25,12 +25,18 @@ mkdir $reports_path; given ($job{'Platform'}) { when ("Win7") { - $ENV{'PATH'} .= ";" . $job{'QtDir'} . "\\bin"; # Add qtdir to path - $ENV{'PATH'} =~ s/\//\\/g; # replace / -> \ + # Add qtdir to path + $ENV{'PATH'} .= ";" . $job{'QtDir'} . "\\bin"; + + # replace / -> \ + $ENV{'PATH'} =~ s/\//\\/g; } when ("Linux") { + # Add qtdir to path $ENV{'PATH'} = $job{'QtDir'} . "/bin:" . $ENV{'PATH'}; + + # If this is not set we get "cannot connect to X server" errors $ENV{'DISPLAY'} = ":0.0"; } }