Fix tests to work with DEPRECATED_REMOVED
This commit is contained in:
parent
c70581c272
commit
e46c6c38c9
3 changed files with 7 additions and 7 deletions
|
@ -50,8 +50,9 @@ my %mapping_values;
|
|||
while (@var_req_arr)
|
||||
{
|
||||
my $req = shift @var_req_arr;
|
||||
$req =~ s/(!?)(.*)/$1defined($2)/;
|
||||
|
||||
$suite_pre_code .= "#ifdef $req\n";
|
||||
$suite_pre_code .= "#if $req\n";
|
||||
$suite_post_code .= "#endif /* $req */\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue