/* * Copyright (C) 2006, Intel Corporation * * This file is part of the Linux-ready Firmware Developer Kit * * This program file is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Foundation;version 2.1 of the License. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License * for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program in a file named COPYING; if not, write to the * Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA */ #include #include #include #include #include #include "../biostest.h" /* Example of a non-standalone .so test. * * In this case, the name of the test is 'example-so', so the directory it resides in * should be called 'example-so', as well as the main file itself. * The possible results are: * * PASS = successful * INFO = information given (neither pass nor fail) * WARN = warning, not severe, but notable * FAIL = failure, probably something serious or important * */ void run_test(void) { start_test("example-so", "Short description of example-exe plugin", "Here is a little more wordy description about the plugin"); report_result("example-so", PASS, "This is the result msg", NULL, NULL); report_result("example-so", WARN, "This is the result msg", "This is the more detailed result msg", NULL); report_result("example-so", FAIL, "This is the result msg", "This is the more detailed result msg related to the pci:// resource", "pci://"); finish_test("example-so"); }