blob: da5308285a5a3d567a8bdf8f36bc5a28274c055e [file] [log] [blame]
Laurence Lundbladef156fb82018-10-01 09:47:03 -07001
2/*==============================================================================
3 run_tests.c -- test aggregator and results reporting
Laurence Lundbladed92a6162018-11-01 11:38:35 +07004
5 Copyright (c) 2018, Laurence Lundblade.
6 All rights reserved.
Laurence Lundbladef156fb82018-10-01 09:47:03 -07007
Laurence Lundbladed92a6162018-11-01 11:38:35 +07008 Redistribution and use in source and binary forms, with or without
9 modification, are permitted provided that the following conditions are
10 met:
11 * Redistributions of source code must retain the above copyright
12 notice, this list of conditions and the following disclaimer.
13 * Redistributions in binary form must reproduce the above
14 copyright notice, this list of conditions and the following
15 disclaimer in the documentation and/or other materials provided
16 with the distribution.
17 * Neither the name of The Linux Foundation nor the names of its
18 contributors, nor the name "Laurence Lundblade" may be used to
19 endorse or promote products derived from this software without
20 specific prior written permission.
Laurence Lundbladef156fb82018-10-01 09:47:03 -070021
Laurence Lundbladed92a6162018-11-01 11:38:35 +070022 THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
23 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
24 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
25 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
26 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
29 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
31 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
32 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Laurence Lundbladef156fb82018-10-01 09:47:03 -070033 ==============================================================================*/
34// Created by Laurence Lundblade on 9/30/18.
Laurence Lundblade64c7c602018-10-13 17:48:05 +080035typedef int (*outputstring)(const char *szString, void *ctx);
Laurence Lundbladef156fb82018-10-01 09:47:03 -070036
Laurence Lundblade64c7c602018-10-13 17:48:05 +080037int run_tests(outputstring output, void *poutCtx, int *pNumTestsRun);