embeddedsw/XilinxProcessorIPLib/drivers/scaler/intgtest/xil_testlib.h
Durga challa 4b76b9679b scaler: Added integration files.
Added integration files to scaler.

Signed-off-by: Durga challa <vnsldurg@xilinx.com>
2014-09-02 11:21:47 +05:30

70 lines
2.4 KiB
C
Executable file

/******************************************************************************
*
* XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS"
* AS A COURTESY TO YOU, SOLELY FOR USE IN DEVELOPING PROGRAMS AND
* SOLUTIONS FOR XILINX DEVICES. BY PROVIDING THIS DESIGN, CODE,
* OR INFORMATION AS ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE,
* APPLICATION OR STANDARD, XILINX IS MAKING NO REPRESENTATION
* THAT THIS IMPLEMENTATION IS FREE FROM ANY CLAIMS OF INFRINGEMENT,
* AND YOU ARE RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE
* FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY DISCLAIMS ANY
* WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE
* IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR
* REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF
* INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE.
*
* (c) Copyright 2002-2014 Xilinx Inc.
* All rights reserved.
*
******************************************************************************/
/*****************************************************************************/
/**
*
* @file xil_testlib.h
*
* This file contains Xilinx software exit messages. These messages are set to
* be matched with the scan strings for board test such that board test would
* know the result of a standalone test program.
*
******************************************************************************/
/***************************** Include Files *********************************/
#include <xil_printf.h>
#ifndef XIL_TESTLIB_H /* prevent circular inclusions */
#define XIL_TESTLIB_H /* by using protection macros */
#ifdef __cplusplus
extern "C" {
#endif
/***************** Macros (Inline Functions) Definitions *********************/
/*
* XIL_PASS puts out a message to signal board test that a program has pass
* the testing program without errors
*
* @return None.
*
* @note None.
*/
#define XIL_PASS() xil_printf("\r\nREGRESSION TEST PASS.\r\n")
/* XIL_FAIL puts out a message to signal board test that a program has not
* pass the testing program
*
* @param numErrors, number of errors.
*
* @return None.
*
* @note None.
*/
#define XIL_FAIL(numErrors) xil_printf("\r\nREGRESSION TEST FAIL WITH %d \
ERRORS.\r\n", numErrors)
#ifdef __cplusplus
}
#endif
#endif /* end of protection macro */