Test case registration fix test Issue 278 (#279)
This commit is contained in:
parent
f60f3ef9b5
commit
8dc3ae30d0
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ struct test_case_registration
|
|||
{
|
||||
test_case_registration(const std::string& name, const basefn ptr)
|
||||
{
|
||||
::autotest::test_suite::global_test_suite().add(test_definition({ptr, name.c_str()}));
|
||||
::autotest::test_suite::global_test_suite().add(test_definition({ptr, strdup(name.c_str())}));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue