Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ncrc
application-integration-tests
Commits
ee456768
Commit
ee456768
authored
Oct 26, 2017
by
Gall, Daniel
Browse files
my first test
parent
36a6a58b
Changes
5
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
ee456768
*/output*
cdo/input_files/cdo_nc_copy_grib2.grb2
0 → 100644
View file @
ee456768
File added
cdo/test.sh
0 → 100755
View file @
ee456768
#!/bin/bash
echo
"starting cdo tests"
module load cdo
rc
=
$?
if
[[
$?
-eq
0
]]
;
then
echo
"got cdo module"
module list |&
grep
cdo
else
echo
"no cdo module found"
exit
1
fi
echo
"using cdo:"
which cdo
tests
=
`
ls
-1
tests
`
cd
./tests
rc
=
1
while
read
-r
test
;
do
echo
$test
./
$test
rc
=
$?
if
[[
$rc
-ne
0
]]
;
then
cat
../output/
$test
break
fi
done
<<<
"
$tests
"
cd
..
echo
"ending cdo tests"
exit
$rc
cdo/tests/cdo_nc_copy_grib2.sh
0 → 100755
View file @
ee456768
#!/bin/bash
cdo
-f
nc copy ../input_files/cdo_nc_copy_grib2.grb2 ../output_files/cdo_nc_copy_grib2.nc &>../output/cdo_nc_copy_grib2.sh
exit
$?
test.sh
0 → 100755
View file @
ee456768
#!/bin/bash
echo
"starting application integration tests"
tests
=
`
ls
-1
`
rc
=
1
while
read
-r
test
;
do
if
[[
-d
$test
]]
;
then
echo
$test
cd
$test
./test.sh
rc
=
$?
if
[[
$rc
-ne
0
]]
;
then
break
fi
cd
..
fi
done
<<<
"
$tests
"
echo
"ending application integration tests"
exit
$rc
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment