source: trunk/Platforms/Test/script/copy_test.sh @ 128

Last change on this file since 128 was 117, checked in by rosiere, 15 years ago

1) Platforms : add new organization for test
2) Load_Store_Unit : add array to count nb_check in store_queue
3) Issue_queue and Core_Glue : rewrite the issue network
4) Special_Register_Unit : add reset value to register CID
5) Softwares : add multicontext test
6) Softwares : add SPECINT
7) Softwares : add MiBench?
7) Read_queue : inhib access for r0
8) Change Core_Glue (network) - dont yet support priority and load balancing scheme

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 552 bytes
Line 
1#!/bin/bash
2
3function usage ()
4{
5    echo "usage : $0 [name_src] name_dest";
6    exit;
7}
8
9if   test ${#} -eq 2; then
10    name_src=${1};
11    name_dest=${2};
12elif test ${#} -eq 1; then
13    name_src="x1_w1_0";
14    name_dest=${1};
15else
16    usage ${*};
17fi;
18
19if test ! -d ${name_src}; then
20    echo "${name_src} is an invalid directory";
21    exit;
22fi;
23
24if test ! -d ${name_dest}; then
25    mkdir ${name_dest};
26fi;
27   
28for i in ${name_src}/*; do
29    sed s/Instance_${name_src}/Instance_${name_dest}/ ${i} > tmp;
30    mv tmp ${name_dest}/$(basename ${i});
31done
Note: See TracBrowser for help on using the repository browser.