torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XdlParsingUnitTest.cpp
Go to the documentation of this file.
1 // TORC - Copyright 2010 University of Southern California. All Rights Reserved.
2 // $HeadURL$
3 // $Id$
4 
5 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
6 #include <boost/test/unit_test.hpp>
7 #include <iostream>
10 
11 int xdlmain(int argc, char *argv[]);
12 
13 namespace torc {
14 
15 BOOST_AUTO_TEST_SUITE(portability)
16 
17 /// \brief Unit test for the directory tree.
18 BOOST_AUTO_TEST_CASE(xdl_parsing) {
19  // look up the command line arguments
20  int& argc = boost::unit_test::framework::master_test_suite().argc;
21  char**& argv = boost::unit_test::framework::master_test_suite().argv;
22  // make sure that we at least have the name under which we were invoked
23  BOOST_REQUIRE(argc >= 1);
24  // resolve symbolic links if applicable
25  xdlmain(argc, argv);
26 }
27 
28 BOOST_AUTO_TEST_SUITE_END()
29 
30 } // namespace torc
int xdlmain(int argc, char *argv[])
Header for the Design class.
BOOST_AUTO_TEST_CASE(XilinxDatabaseTypesUnitTest)
Unit test for device database type sizes.
Device database types for Xilinx architectures.