# HG changeset patch # User rlm # Date 1273017189 14400 # Node ID 7ac38b0f93faca271d8f773f903f3b634ac14a9b # Parent 5a30f173bbac8fc8953926cebec6f3336d421217 [svn r41] made perl build script automatically generate program.vmh diff -r 5a30f173bbac -r 7ac38b0f93fa config/bm/Pygar/processor_test/audio_core_benchmark.cfx --- a/config/bm/Pygar/processor_test/audio_core_benchmark.cfx Tue May 04 19:32:25 2010 -0400 +++ b/config/bm/Pygar/processor_test/audio_core_benchmark.cfx Tue May 04 19:53:09 2010 -0400 @@ -30,7 +30,7 @@ foreach my $test (@tests) { $gcfg->add(name => $test, tree => [ "tests" ], - setup => "scripts/setup-mit-6.375-bmark-audio-core --group instruction-tests --isa smips $test --compare=1 --data=../benchmarks/audio_processor_test/rlp.wav --linkto=../tools/audio_processor_test/null/checker", + setup => "scripts/setup-mit-6.375-bmark-audio-core --group instruction-tests --isa smips $test --data=../benchmarks/audio_processor_test/rlp.wav --linkto=../tools/audio_processor_test/null/checker", feeder => "vcs", feedflags => "program.0/${test}.smips.vmh", ccount => 800000, diff -r 5a30f173bbac -r 7ac38b0f93fa scripts/setup-mit-6.375-bmark-audio-core --- a/scripts/setup-mit-6.375-bmark-audio-core Tue May 04 19:32:25 2010 -0400 +++ b/scripts/setup-mit-6.375-bmark-audio-core Tue May 04 19:53:09 2010 -0400 @@ -104,8 +104,12 @@ my $dst_prog = basename($src_prog); unlink($dst_prog); + + print "\n\nRLM: putting $src_prog in $dst_prog, and also program.vmh\n"; + symlink($src_prog, $dst_prog) or ErrorExit("Failed to symlink $dst_prog => $src_prog"); - + symlink($src_prog, "program.vmh") or ErrorExit("Failed to symlink $dst_prog => $src_prog"); + # Copy input data files if (defined($data)) { # No trailing slash. Just link to a single object @@ -176,6 +180,7 @@ } if (defined($compare)) { print ENV "compare=\"${compare}\"\n"; + #print ENV "compare=\"ls\"\n"; } close(ENV);