aboutsummaryrefslogtreecommitdiff
path: root/modules/Internals/RegTests.pm
diff options
context:
space:
mode:
authorAndrey Ponomarenko <andrewponomarenko@yandex.ru>2016-07-02 19:10:59 +0300
committerAndrey Ponomarenko <andrewponomarenko@yandex.ru>2016-07-02 19:10:59 +0300
commit0f946a4a86e5a831a9301cea7cd0305ac9afd1bf (patch)
tree8844839c2f4a579986af3493680468de4791900c /modules/Internals/RegTests.pm
parent4eb5869a5592792e49f6c79e7d847daf716adbc6 (diff)
downloadabi-compliance-checker-0f946a4a86e5a831a9301cea7cd0305ac9afd1bf.tar.gz
Added -old-style option.
Diffstat (limited to 'modules/Internals/RegTests.pm')
-rw-r--r--modules/Internals/RegTests.pm10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/Internals/RegTests.pm b/modules/Internals/RegTests.pm
index 48132c6..587b292 100644
--- a/modules/Internals/RegTests.pm
+++ b/modules/Internals/RegTests.pm
@@ -24,14 +24,15 @@
use strict;
my ($TestDump, $Debug, $Quiet, $ExtendedCheck, $LogMode, $ReportFormat,
-$DumpFormat, $LIB_EXT, $GCC_PATH, $SortDump,
-$CheckHeadersOnly);
+$DumpFormat, $LIB_EXT, $GCC_PATH, $SortDump, $CheckHeadersOnly,
+$OldStyle);
my $OSgroup = get_OSgroup();
sub testTool($$$$$$$$$$$)
{
($TestDump, $Debug, $Quiet, $ExtendedCheck, $LogMode, $ReportFormat,
- $DumpFormat, $LIB_EXT, $GCC_PATH, $SortDump, $CheckHeadersOnly) = @_;
+ $DumpFormat, $LIB_EXT, $GCC_PATH, $SortDump, $CheckHeadersOnly,
+ $OldStyle) = @_;
testC();
testCpp();
@@ -4885,6 +4886,9 @@ sub runTests($$$$$$$$)
if($CheckHeadersOnly) {
@Cmd = (@Cmd, "-headers-only");
}
+ if($OldStyle) {
+ @Cmd = (@Cmd, "-old-style");
+ }
if($Debug)
{ # debug mode
@Cmd = (@Cmd, "-debug");