Sha256: 1e54713848ae34b3639c53657d3fd320101cfc1600a96f37d709e56a04aecef7

Contents?: true

Size: 475 Bytes

Versions: 16

Compression:

Stored size: 475 Bytes

Contents

#define CATCH_CONFIG_RUNNER
#include <catch.hpp>
#include <facter/ruby/ruby.hpp>
#include <facter/logging/logging.hpp>
#include <boost/nowide/iostream.hpp>

using namespace std;
using namespace facter::logging;

int main(int argc, char **argv)
{
    // Disable logging for tests
    setup_logging(boost::nowide::cout);
    set_level(level::none);

    // Before running tests, initialize Ruby
    facter::ruby::initialize();

    return Catch::Session().run( argc, argv );
}

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
facter-3.12.2.cfacter.20181217 ext/facter/facter/lib/tests/main.cc
facter-3.12.1.cfacter.20181031 ext/facter/facter/lib/tests/main.cc
facter-3.11.6.cfacter.20181031 ext/facter/facter/lib/tests/main.cc
facter-3.12.1.cfacter.20181023 ext/facter/facter/lib/tests/main.cc
facter-3.11.5.cfacter.20181022 ext/facter/facter/lib/tests/main.cc
facter-3.12.0.cfacter.20181004 ext/facter/facter/lib/tests/main.cc
facter-3.12.0.cfacter.20181001 ext/facter/facter/lib/tests/main.cc
facter-3.12.0.cfacter.20180918 ext/facter/facter/lib/tests/main.cc
facter-3.11.4.cfacter.20180821 ext/facter/facter/lib/tests/main.cc
facter-3.11.3.cfacter.20180716 ext/facter/facter/lib/tests/main.cc
facter-3.11.2.cfacter.20180612 ext/facter/facter/lib/tests/main.cc
facter-3.9.6.cfacter.20180612 ext/facter/facter/lib/tests/main.cc
facter-3.11.2.cfacter.20180606 ext/facter/facter/lib/tests/main.cc
facter-3.9.6.cfacter.20180606 ext/facter/facter/lib/tests/main.cc
facter-3.11.0.cfacter.20180319 ext/facter/facter/lib/tests/main.cc
cfacter-3.11.0.rc.20180314 ext/facter/facter/lib/tests/main.cc