ecos: use commandline parameters for local test runs, too

Change-Id: Iac43732408420a9e3687d5756c942c2f2256ad86
This commit is contained in:
Horst Schirmeier
2013-04-03 15:13:34 +02:00
parent 373c19dd68
commit a0293b9d18

View File

@ -296,8 +296,8 @@ bool EcosKernelTestExperiment::faultInjection() {
} }
#else #else
// XXX debug // XXX debug
param.msg.set_variant("bitmap_CRC"); param.msg.set_variant(m_variant);
param.msg.set_benchmark("bin_sem0"); param.msg.set_benchmark(m_benchmark);
param.msg.set_instr2_offset(7462); param.msg.set_instr2_offset(7462);
//param.msg.set_instr_address(12345); //param.msg.set_instr_address(12345);
param.msg.set_mem_addr(44540); param.msg.set_mem_addr(44540);
@ -643,9 +643,11 @@ bool EcosKernelTestExperiment::run()
{ {
log << "startup" << endl; log << "startup" << endl;
#if PREREQUISITES #if PREREQUISITES || LOCAL
parseOptions(); parseOptions();
#endif
#if PREREQUISITES
log << "retrieving ELF symbol addresses ..." << endl; log << "retrieving ELF symbol addresses ..." << endl;
guest_address_t entry, finish, test_output, errors_corrected, guest_address_t entry, finish, test_output, errors_corrected,
panic, text_start, text_end; panic, text_start, text_end;