1*5e151005SAntonio Huete Jimenez /* 2*5e151005SAntonio Huete Jimenez * Copyright (c) 2011 Alex Hornung <alex@alexhornung.com>. 3*5e151005SAntonio Huete Jimenez * All rights reserved. 4*5e151005SAntonio Huete Jimenez * 5*5e151005SAntonio Huete Jimenez * Redistribution and use in source and binary forms, with or without 6*5e151005SAntonio Huete Jimenez * modification, are permitted provided that the following conditions 7*5e151005SAntonio Huete Jimenez * are met: 8*5e151005SAntonio Huete Jimenez * 9*5e151005SAntonio Huete Jimenez * 1. Redistributions of source code must retain the above copyright 10*5e151005SAntonio Huete Jimenez * notice, this list of conditions and the following disclaimer. 11*5e151005SAntonio Huete Jimenez * 2. Redistributions in binary form must reproduce the above copyright 12*5e151005SAntonio Huete Jimenez * notice, this list of conditions and the following disclaimer in 13*5e151005SAntonio Huete Jimenez * the documentation and/or other materials provided with the 14*5e151005SAntonio Huete Jimenez * distribution. 15*5e151005SAntonio Huete Jimenez * 16*5e151005SAntonio Huete Jimenez * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17*5e151005SAntonio Huete Jimenez * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18*5e151005SAntonio Huete Jimenez * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 19*5e151005SAntonio Huete Jimenez * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 20*5e151005SAntonio Huete Jimenez * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 21*5e151005SAntonio Huete Jimenez * INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, 22*5e151005SAntonio Huete Jimenez * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23*5e151005SAntonio Huete Jimenez * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24*5e151005SAntonio Huete Jimenez * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25*5e151005SAntonio Huete Jimenez * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 26*5e151005SAntonio Huete Jimenez * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27*5e151005SAntonio Huete Jimenez * SUCH DAMAGE. 28*5e151005SAntonio Huete Jimenez */ 29*5e151005SAntonio Huete Jimenez 30a563ca70SAlex Hornung #define RESULT_TIMEOUT 0x01 31a563ca70SAlex Hornung #define RESULT_SIGNALLED 0x02 32a563ca70SAlex Hornung #define RESULT_NOTRUN 0x03 33a563ca70SAlex Hornung #define RESULT_FAIL 0x04 34a563ca70SAlex Hornung #define RESULT_PASS 0x05 35a563ca70SAlex Hornung #define RESULT_UNKNOWN 0x06 36a563ca70SAlex Hornung #define RESULT_PREFAIL 0x07 37a563ca70SAlex Hornung #define RESULT_POSTFAIL 0x08 38a563ca70SAlex Hornung #define RESULT_BUILDFAIL 0x09 39a563ca70SAlex Hornung 40a563ca70SAlex Hornung #define EXIT_NOTRUN 127 41