From 1f567dcdc00db24ebabef2f3b6fb5c05193cf832 Mon Sep 17 00:00:00 2001 From: Radek Szymanski Date: Wed, 1 May 2019 12:08:29 +0100 Subject: [PATCH] cl20: Reuse test harness code in headers (#255) 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 --- test_conformance/headers/test_headers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/headers/test_headers.c b/test_conformance/headers/test_headers.c index 3f38d1a4..c9895bc3 100644 --- a/test_conformance/headers/test_headers.c +++ b/test_conformance/headers/test_headers.c @@ -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 ); }