diff options
Diffstat (limited to 'modules/Internals/RegTests.pm')
-rw-r--r-- | modules/Internals/RegTests.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/Internals/RegTests.pm b/modules/Internals/RegTests.pm index 782e55f..81aaa98 100644 --- a/modules/Internals/RegTests.pm +++ b/modules/Internals/RegTests.pm @@ -4869,7 +4869,12 @@ sub runTests($$$$$$$$) exitStatus("Error", "can't compile $LibName v.2: \'$Path_v2/build-log.txt\'"); } # running the tool - my @Cmd = ("perl", $0, "-l", $LibName, "-d1", "$LibName/v1.xml", "-d2", "$LibName/v2.xml", "-cxx-incompatible"); + my @Cmd = ("perl", $0, "-l", $LibName, "-d1", "$LibName/v1.xml", "-d2", "$LibName/v2.xml"); + + if($Lang eq "C") { + @Cmd = (@Cmd, "-cxx-incompatible"); + } + if($TestDump) { @Cmd = (@Cmd, "-use-dumps"); |