summaryrefslogtreecommitdiff
path: root/cts/common/cts_common.h
blob: cfc347c3c2c50f1d477691e678788d6ef7ce8f37 (plain)
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
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __CTS_COMMON_H
#define __CTS_COMMON_H

#include "console.h"

/* Console output macros */
#define CPUTS(outstr) cputs(CC_SYSTEM, outstr)
#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ## args)
#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ## args)

#define READ_WAIT_TIME_MS 100

/* In a single test, only one board can return unknown, the other must
 * return a useful result (i.e. success, failure, etc)
 */

enum cts_rc {
	#include "cts.rc"
};

#endif