// // Boost.Process // ~~~~~~~~~~~~~ // // Copyright (c) 2006, 2007 Julio M. Merino Vidal // Copyright (c) 2008 Boris Schaeling // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include #if defined(BOOST_POSIX_API) # include "status_base_test.hpp" # include namespace bp = ::boost::process; #endif #include #include namespace bfs = ::boost::filesystem; namespace but = ::boost::unit_test; #if !defined(BOOST_POSIX_API) static void test_dummy() { } #endif but::test_suite *init_unit_test_suite(int argc, char *argv[]) { bfs::initial_path(); but::test_suite *test = BOOST_TEST_SUITE("posix_status test suite"); #if defined(BOOST_POSIX_API) add_tests_status_base(test); #else test->add(BOOST_TEST_CASE(&test_dummy)); #endif return test; }