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:
772 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 | |
---|
24 | mkdir -p ${CCCWORKDIR}/xios_reference_archive |
---|
25 | mkdir -p ${CCCWORKDIR}/xios_reference_archive/$(( ${revision}-1 )) |
---|
26 | mv ${CCCWORKDIR}/xios_reference.tar.gz ${CCCWORKDIR}/xios_reference_archive/$(( ${revision}-1 ))/ |
---|
27 | |
---|
28 | tar -zcvf ${CCCWORKDIR}/xios_reference.tar.gz xios_reference/ |
---|
29 | rm -rf xios_reference |
---|
Note: See
TracBrowser
for help on using the repository browser.