File: test_codes.h

package info (click to toggle)
paraview 5.1.2%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 221,108 kB
  • ctags: 236,092
  • sloc: cpp: 2,416,026; ansic: 190,891; python: 99,856; xml: 81,001; tcl: 46,915; yacc: 5,039; java: 4,413; perl: 3,108; sh: 1,974; lex: 1,926; f90: 748; asm: 471; pascal: 228; makefile: 198; objc: 83; fortran: 31
file content (29 lines) | stat: -rw-r--r-- 872 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* -*- c -*- */
/*
 * Copyright (C) 2003 Sandia Corporation
 * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
 * the U.S. Government retains certain rights in this software.
 *
 * This source code is released under the New BSD License.
 */

#ifndef _TEST_CODES_H_
#define _TEST_CODES_H_

/* Return this if the test passed. */
#define TEST_PASSED	0

/* Return this if the test could not be run because of some failed
 * pre-condition.  Example: test is run on one node and needs to be run on
 * at least 2. */
#define TEST_NOT_RUN	-1

/* Return this if the test failed for a reason not related to IceT.
 * Example: could not read or write to a file.  Note that out of memory
 * errors may be caused by IceT memory leaks. */
#define TEST_NOT_PASSED	-2

/* Return this if the test failed outright. */
#define TEST_FAILED	-3

#endif /*_TEST_CODES_H_*/