From: Paolo Molaro Date: Tue, 29 Apr 2014 16:48:03 +0000 (+0200) Subject: Adjust the test check to look for the correct heapshot number in the profile data. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=d4a3cc50d3f3a03b80d4e2638f700d9342d72f1f;p=mono.git Adjust the test check to look for the correct heapshot number in the profile data. --- diff --git a/mono/profiler/ptestrunner.pl b/mono/profiler/ptestrunner.pl index 96f2e0137c7..e3c62b5d4ad 100755 --- a/mono/profiler/ptestrunner.pl +++ b/mono/profiler/ptestrunner.pl @@ -58,20 +58,20 @@ report_errors (); $report = run_test_sgen ("test-heapshot.exe", "report,heapshot"); if ($report ne "missing binary") { check_report_basics ($report); - check_report_heapshot ($report, 1, {"T" => 5000}); - check_report_heapshot ($report, 2, {"T" => 5023}); + check_report_heapshot ($report, 0, {"T" => 5000}); + check_report_heapshot ($report, 1, {"T" => 5023}); report_errors (); } # test heapshot traces $report = run_test_sgen ("test-heapshot.exe", "heapshot,output=-traces.mlpd", "--traces traces.mlpd"); if ($report ne "missing binary") { check_report_basics ($report); - check_report_heapshot ($report, 1, {"T" => 5000}); - check_report_heapshot ($report, 2, {"T" => 5023}); - check_heapshot_traces ($report, 1, + check_report_heapshot ($report, 0, {"T" => 5000}); + check_report_heapshot ($report, 1, {"T" => 5023}); + check_heapshot_traces ($report, 0, T => [4999, "T"] ); - check_heapshot_traces ($report, 2, + check_heapshot_traces ($report, 1, T => [5022, "T"] ); report_errors ();