kill dead code

Esse commit está contido em:
ptarjan
2013-04-09 23:07:22 -07:00
commit de Sara Golemon
commit 25b9556349
2 arquivos alterados com 0 adições e 14 exclusões
-3
Ver Arquivo
@@ -44,13 +44,11 @@ void Test::RunTestsImpl(bool &allPassed, std::string &suite,
RUN_TESTSUITE(TestDebugger);
return;
}
const char *vmFilter = 0;
if (suite == "TestCodeRunVM" || suite == "TestCodeRunRepo") {
suite = "TestCodeRun";
Option::EnableEval = Option::FullEval;
RuntimeOption::EvalJit = false;
TestCodeRun::Filter = vmFilter;
RUN_TESTSUITE(TestCodeRun);
return;
}
@@ -62,7 +60,6 @@ void Test::RunTestsImpl(bool &allPassed, std::string &suite,
if (suite == "TestCodeRunJitIR" || suite == "TestCodeRunRepoJitIR") {
RuntimeOption::EvalJitUseIR = true;
}
TestCodeRun::Filter = vmFilter;
RUN_TESTSUITE(TestCodeRun);
return;
}
-11
Ver Arquivo
@@ -33,8 +33,6 @@ using std::ostringstream;
///////////////////////////////////////////////////////////////////////////////
const char *TestCodeRun::Filter = 0;
// By default, use shared linking for faster testing.
bool TestCodeRun::FastMode = true;
@@ -251,15 +249,6 @@ static bool verify_result(const char *input, const char *output, bool perfMode,
bool TestCodeRun::RecordMulti(const char *input, const char *output,
const char *file, int line, bool nowarnings,
bool fileoutput) {
if (Filter) {
const char *errptr;
int erroffset;
pcre *re = pcre_compile(Filter, PCRE_CASELESS, &errptr, &erroffset, 0);
if (re && pcre_exec(re, 0, input, strlen(input), 0, 0, 0, 0) >= 0) {
return true;
}
}
string fullPath = "runtime/tmp/" + Test::s_suite + "/" + test_name + "/tcr-" +
boost::lexical_cast<string>(m_test++);