blob: 431ef22b2759244a128572f1426ca66b0ccb8c94 [file] [log] [blame]
Laurence Lundbladef156fb82018-10-01 09:47:03 -07001
2/*==============================================================================
3 run_tests.c -- test aggregator and results reporting
Laurence Lundblade3aee3a32018-12-17 16:17:45 -08004
Laurence Lundbladed92a6162018-11-01 11:38:35 +07005 Copyright (c) 2018, Laurence Lundblade.
6 All rights reserved.
Laurence Lundblade3aee3a32018-12-17 16:17:45 -08007
Laurence Lundblade0dbc9172018-11-01 14:17:21 +07008Redistribution and use in source and binary forms, with or without
9modification, are permitted provided that the following conditions are
10met:
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 * The name "Laurence Lundblade" may not be used to
18 endorse or promote products derived from this software without
19 specific prior written permission.
Laurence Lundblade3aee3a32018-12-17 16:17:45 -080020
Laurence Lundblade0dbc9172018-11-01 14:17:21 +070021THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
22WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
23MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
24ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
25BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
28BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
29WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
30OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
31IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Laurence Lundbladef156fb82018-10-01 09:47:03 -070032 ==============================================================================*/
33// Created by Laurence Lundblade on 9/30/18.
Laurence Lundblade64c7c602018-10-13 17:48:05 +080034typedef int (*outputstring)(const char *szString, void *ctx);
Laurence Lundbladef156fb82018-10-01 09:47:03 -070035
Laurence Lundblade88b6ece2018-12-04 12:27:19 +090036int run_tests(const char *szTestName, outputstring output, void *poutCtx, int *pNumTestsRun);
Laurence Lundblade8ca13692018-12-04 14:35:53 +090037
38
39#include <stdint.h>
40#include "UsefulBuf.h"
41
42const char *NumToString(int32_t nNum, UsefulBuf StringMem);
43