From 366c6d8241c77f0b23f33027e7f45c77f78c00f6 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 2 Jun 2010 19:27:05 +0000 Subject: tests: Add Subversion revision info to build report git-svn-id: http://pugixml.googlecode.com/svn/trunk@500 99668b35-9821-0410-8761-19e4c4f06640 --- tests/autotest-report.pl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'tests/autotest-report.pl') diff --git a/tests/autotest-report.pl b/tests/autotest-report.pl index 47fed38..c318b93 100644 --- a/tests/autotest-report.pl +++ b/tests/autotest-report.pl @@ -87,6 +87,17 @@ while (<>) $defines{$_} = 1 foreach (split /,/, $defineset); &insertindex(\%configurations, $fullconf); } + elsif (/^### autotest revision (\d+)/) + { + if (defined $revision && $revision != $1) + { + print STDERR "Autotest build report contains several revisions: $revision, $1\n"; + } + else + { + $revision = $1; + } + } } # make arrays of toolsets and configurations @@ -168,6 +179,6 @@ $date = localtime; print <
-Generated on $date +Generated on $date from Subversion r$revision END -- cgit v1.2.3