Improve tests and change tests/ directory layout
[lttng-tools.git] / tests / utils.h
CommitLineData
897b8e23 1/*
355f483d 2 * Copyright (c) - 2011 David Goulet <david.goulet@polymtl.ca>
897b8e23 3 *
355f483d
DG
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by as
6 * published by the Free Software Foundation; only version 2 of the License.
897b8e23 7 *
355f483d
DG
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
897b8e23 12 *
355f483d
DG
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 51
15 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
897b8e23
DG
16 */
17
18#include <stdio.h>
19
20#define BRIGHT 1
21#define GREEN 32
22#define RED 31
23
24#define PRINT_OK() printf("%c[%d;%dmOK%c[%dm\n", 0x1B, BRIGHT, GREEN, 0x1B, 0);
25#define PRINT_FAIL() printf("%c[%d;%dmFAIL%c[%dm\n", 0x1B, BRIGHT, RED, 0x1B, 0);
This page took 0.029901 seconds and 5 git commands to generate.