mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 19:28:14 +00:00
modify tests/scripts/generate_code.pl to allow overriding of from command line
This commit is contained in:
parent
3d536ba30c
commit
f4253c72f0
1 changed files with 1 additions and 1 deletions
|
@ -6,11 +6,11 @@ use strict;
|
|||
my $suite_dir = shift or die "Missing suite directory";
|
||||
my $suite_name = shift or die "Missing suite name";
|
||||
my $data_name = shift or die "Missing data name";
|
||||
my $test_main_file = do { my $arg = shift; defined($arg) ? $arg : $suite_dir."/main_test.function" };
|
||||
my $test_file = $data_name.".c";
|
||||
my $test_helper_file = $suite_dir."/helpers.function";
|
||||
my $test_case_file = $suite_dir."/".$suite_name.".function";
|
||||
my $test_case_data = $suite_dir."/".$data_name.".data";
|
||||
my $test_main_file = $suite_dir."/main_test.function";
|
||||
|
||||
my $line_separator = $/;
|
||||
undef $/;
|
||||
|
|
Loading…
Reference in a new issue