mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 13:08:53 +00:00
Adds line number substitution in test cases
Expanded generate_code.pl to substitute !LINE_NO! in test cases.
This commit is contained in:
parent
4225611887
commit
c1d2eb3fd6
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ for my $line (@test_cases_lines) {
|
|||
$line = $line."#line $index \"$test_case_file\"\n";
|
||||
}
|
||||
|
||||
$line =~ s/!LINE_NO!/$index/;
|
||||
|
||||
$test_cases = $test_cases.$line;
|
||||
$index++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue