Last change
on this file since 2393 was
1844,
checked in by yushan, 5 years ago
|
dev_trunk_omp : add xios_test_suite folder
|
-
Property svn:executable set to
*
|
File size:
940 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | revision=$(svn info --show-item revision ../ 2>&1) |
---|
3 | mkdir -p xios_reference |
---|
4 | for i in $(ls -d test_*) |
---|
5 | do |
---|
6 | echo ${i%%} |
---|
7 | mkdir -p xios_reference/${i%%} |
---|
8 | for j in $(ls -d ${i%%}/config_*) |
---|
9 | do |
---|
10 | echo ${j%%} |
---|
11 | mkdir -p xios_reference/${j%%} |
---|
12 | DIR=${j%%}/tmp_reference |
---|
13 | if [ -d "$DIR" ]; then |
---|
14 | mv ${j%%}/tmp_reference ${j%%}/reference |
---|
15 | fi |
---|
16 | |
---|
17 | cp -r ${j%%}/reference xios_reference/${j%%} |
---|
18 | cp -r ${j%%}/setup xios_reference/${j%%} |
---|
19 | done |
---|
20 | |
---|
21 | done |
---|
22 | |
---|
23 | cp -r ../ENV ./ |
---|
24 | cp ../load_env ./ |
---|
25 | source ./load_env |
---|
26 | #echo "xios_reference_dir" ${xios_reference_dir} |
---|
27 | |
---|
28 | mkdir -p ${xios_reference_dir}/xios_reference_archive |
---|
29 | mkdir -p ${xios_reference_dir}/xios_reference_archive/$(( ${revision}-1 )) |
---|
30 | mv ${xios_reference_dir}/xios_reference.tar.gz ${xios_reference_dir}/xios_reference_archive/$(( ${revision}-1 ))/ |
---|
31 | |
---|
32 | tar -zcvf ${xios_reference_dir}/xios_reference.tar.gz xios_reference/ |
---|
33 | rm -rf xios_reference |
---|
34 | |
---|
35 | rm -rf ENV |
---|
36 | rm -f load_env |
---|
Note: See
TracBrowser
for help on using the repository browser.