1 /* 2 * Copyright (c) 2002, Intel Corporation. All rights reserved. 3 * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com 4 * This file is licensed under the GPL license. For the full content 5 * of this license, see the COPYING file at the top level of this 6 * source tree. 7 */ 8 9 /* 10 * return codes 11 */ 12 13 #define PTS_PASS 0 14 #define PTS_FAIL 1 15 #define PTS_UNRESOLVED 2 16 #define PTS_UNSUPPORTED 4 17 #define PTS_UNTESTED 5 18 19 #ifndef ARRAY_SIZE 20 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) 21 #endif 22 23 #define LTP_ATTRIBUTE_NORETURN __attribute__((noreturn)) 24 #define LTP_ATTRIBUTE_UNUSED __attribute__((unused)) 25 #define LTP_ATTRIBUTE_UNUSED_RESULT __attribute__((warn_unused_result)) 26