Sha256: c7ffbd0ff881fa4fa4e96a1ce076bee041edb3ec5e9de451dc2abb3808630976
Contents?: true
Size: 564 Bytes
Versions: 23
Compression:
Stored size: 564 Bytes
Contents
#include "tut.h" #include "tut_reporter.h" #include <oxt/system_calls.hpp> #include <signal.h> #include <cstdlib> namespace tut { test_runner_singleton runner; } int main() { tut::reporter reporter; tut::runner.get().set_callback(&reporter); signal(SIGPIPE, SIG_IGN); setenv("RAILS_ENV", "production", 1); setenv("TESTING_PASSENGER", "1", 1); oxt::setup_syscall_interruption_support(); try { tut::runner.get().run_tests(); } catch (const std::exception &ex) { std::cerr << "Exception raised: " << ex.what() << std::endl; return 1; } return 0; }
Version data entries
23 entries across 23 versions & 4 rubygems