summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-05-16 10:46:38 -0700
committerDan Nicholson <dbn.lists@gmail.com>2009-05-16 10:46:38 -0700
commit57b2ffba5724dfbc20a360d89e40262e406008e3 (patch)
tree755a33ee6174b2a1d9f619da3410b38840726ea4 /include
parentc8a3fc56bab4e7b7652a4689f4f3f762ae819356 (diff)
tcc: Convert test results to exit codes
In order to play nice with automake's concept of test exit codes, convert the scenario results to exit codes and let them accumulate appropriately.
Diffstat (limited to 'include')
-rw-r--r--include/tet_api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tet_api.h b/include/tet_api.h
index 437d4486..b81e2990 100644
--- a/include/tet_api.h
+++ b/include/tet_api.h
@@ -188,6 +188,12 @@ extern "C" {
#define TET_NORESULT 7
+/* values of the standard exit codes */
+#define TET_EXIT_SUCCESS 0
+#define TET_EXIT_FAILURE 1
+#define TET_EXIT_SKIP 77 /* automake defined skip code */
+
+
/* tet_errno values, may be used to index into tet_errlist[] */
#define TET_ER_OK 0 /* ok success */
#define TET_ER_ERR 1 /* general error code */