cl22: Reuse test harness code in headers (#257)

Some of the setup functionality is already there in the test harness, so
use that and remove the duplicated code from within the suite.

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
Radek Szymanski
2019-05-01 12:08:45 +01:00
committed by Kévin Petit
parent 46ac283384
commit 621c47105c

View File

@@ -655,5 +655,5 @@ int main(int argc, const char** argv)
{
log_info( "\nChecking operations on cl_types.\nNumbers, where presented, should walk upward from 0, with step of 1:\n" );
return parseAndCallCommandLineTests( argc, argv, NULL, test_num, test_list, true, 0, 0 );
return runTestHarness( argc, argv, test_num, test_list, false, true, 0 );
}