Suite dependencies handled correctly now
This commit is contained in:
parent
33b43f1ec3
commit
b34fef2f3c
2 changed files with 14 additions and 6 deletions
|
@ -65,10 +65,11 @@ $suite_header
|
|||
|
||||
$test_helpers
|
||||
|
||||
$suite_pre_code
|
||||
|
||||
END
|
||||
|
||||
$test_main =~ s/SUITE_PRE_DEP/$suite_pre_code/;
|
||||
$test_main =~ s/SUITE_POST_DEP/$suite_post_code/;
|
||||
|
||||
while($test_cases =~ /\/\* BEGIN_CASE *([\w:]*) \*\/\n(.*?)\n\/\* END_CASE \*\//msg)
|
||||
{
|
||||
my $function_deps = $1;
|
||||
|
@ -219,8 +220,6 @@ $test_main =~ s/DISPATCH_FUNCTION/$dispatch_code/;
|
|||
$test_main =~ s/MAPPING_CODE/$mapping_code/;
|
||||
|
||||
print TEST_FILE << "END";
|
||||
$suite_post_code
|
||||
|
||||
$test_main
|
||||
END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue