1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Adds line number substitution in test cases

Expanded generate_code.pl to substitute !LINE_NO! in test cases.
This commit is contained in:
SimonB
2016-05-02 15:52:52 +01:00
committed by Simon Butcher
parent 99cff58958
commit ab07135165

View File

@ -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++;
}