Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
ac1b3bd1
There was an error fetching the commit references. Please try again later.
Commit
ac1b3bd1
authored
7 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.3' into v2.4
parents
9fbad2ca
db68da71
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
regtest/scripts/check
+11
-7
11 additions, 7 deletions
regtest/scripts/check
regtest/scripts/run
+4
-4
4 additions, 4 deletions
regtest/scripts/run
with
15 additions
and
11 deletions
regtest/scripts/check
+
11
−
7
View file @
ac1b3bd1
...
@@ -30,6 +30,8 @@ dirs=$(
...
@@ -30,6 +30,8 @@ dirs=$(
done
done
)
)
file1
=
$(
mktemp
)
file2
=
$(
mktemp
)
for
dir
in
$dirs
for
dir
in
$dirs
do
do
...
@@ -38,22 +40,24 @@ do
...
@@ -38,22 +40,24 @@ do
if
[
-n
"
$html
"
]
;
then
if
[
-n
"
$html
"
]
;
then
fullname
=
'<a href="'
"
$file
"
'">'
"
$file
"
'</a>'
fullname
=
'<a href="'
"
$file
"
'">'
"
$file
"
'</a>'
fi
fi
if
grep
-q
NOT_APPLIABLE
$file
;
then
if
grep
-q
NOT_APPLI
C
ABLE
$file
;
then
((
notapp++
))
((
notapp++
))
echo
+
test
$dir
NOT APPLIABLE
echo
+
test
$dir
NOT APPLI
C
ABLE
>>
$file1
echo
+ check file
$fullname
for
more information
echo
+ check file
$fullname
for
more information
>>
$file1
elif
grep
-q
FAILURE
$file
;
then
elif
grep
-q
FAILURE
$file
;
then
((
nerror++
))
((
nerror++
))
echo
+ ERROR
in
test
$dir
echo
+ ERROR
in
test
$dir
>>
$file2
echo
+ check file
$fullname
for
more information
echo
+ check file
$fullname
for
more information
>>
$file2
else
else
((
nok++
))
((
nok++
))
fi
fi
done
done
cat
$file1
cat
$file2
echo
"+++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
"+++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
"+ Final report:"
echo
"+ Final report:"
echo
"+
$((
nok+nerror
))
tests performed,
$notapp
tests not appliable"
echo
"+
$((
nok+nerror
))
tests performed,
$notapp
tests not appli
c
able"
echo
"+
$nerror
errors found"
echo
"+
$nerror
errors found"
if
((
nerror
==
0
))
;
then
if
((
nerror
==
0
))
;
then
echo
"+ Well done!!"
echo
"+ Well done!!"
...
@@ -68,7 +72,7 @@ fi
...
@@ -68,7 +72,7 @@ fi
if
[
"
$PLUMED_ALL_TESTS
"
=
yes
]
;
then
if
[
"
$PLUMED_ALL_TESTS
"
=
yes
]
;
then
if
((
$notapp
>
0
))
;
then
if
((
$notapp
>
0
))
;
then
echo
"+ You are running with PLUMED_ALL_TESTS=yes and some tests are not appliable"
echo
"+ You are running with PLUMED_ALL_TESTS=yes and some tests are not appli
c
able"
echo
"+ This is likely happening on the first job under TRAVIS-CI"
echo
"+ This is likely happening on the first job under TRAVIS-CI"
echo
"+ Please check that all modules have been properly enabled!"
echo
"+ Please check that all modules have been properly enabled!"
if
[
-n
"
$fail
"
]
;
then
if
[
-n
"
$fail
"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
regtest/scripts/run
+
4
−
4
View file @
ac1b3bd1
...
@@ -67,7 +67,7 @@ mpi="${PLUMED_MPIRUN:-mpirun} -np $mpiprocs"
...
@@ -67,7 +67,7 @@ mpi="${PLUMED_MPIRUN:-mpirun} -np $mpiprocs"
if
!
plumed config
-q
has mpi
if
!
plumed config
-q
has mpi
then
then
echo
"NOT_APPLIABLE (MPI NOT INSTALLED)"
echo
"NOT_APPLI
C
ABLE (MPI NOT INSTALLED)"
exit
0
;
exit
0
;
fi
fi
...
@@ -79,7 +79,7 @@ fi
...
@@ -79,7 +79,7 @@ fi
if
((
mpiprocs>0
))
&&
[[
"
$valgrind
"
!=
"env"
]]
if
((
mpiprocs>0
))
&&
[[
"
$valgrind
"
!=
"env"
]]
then
then
echo
"NOT_APPLIABLE (MPI cannot be used with valgrind)"
echo
"NOT_APPLI
C
ABLE (MPI cannot be used with valgrind)"
exit
0
;
exit
0
;
fi
fi
...
@@ -88,7 +88,7 @@ do
...
@@ -88,7 +88,7 @@ do
echo
"Checking for
$need
"
echo
"Checking for
$need
"
if
!
$plumed
config
-q
has
$need
if
!
$plumed
config
-q
has
$need
then
then
echo
"NOT_APPLIABLE (
$need
NOT ENABLED)"
echo
"NOT_APPLI
C
ABLE (
$need
NOT ENABLED)"
exit
0
;
exit
0
;
fi
fi
done
done
...
@@ -98,7 +98,7 @@ do
...
@@ -98,7 +98,7 @@ do
echo
"Checking for
$module
"
echo
"Checking for
$module
"
if
!
$plumed
config
-q
module
$module
if
!
$plumed
config
-q
module
$module
then
then
echo
"NOT_APPLIABLE (
$module
MODULE NOT INSTALLED)"
echo
"NOT_APPLI
C
ABLE (
$module
MODULE NOT INSTALLED)"
exit
0
;
exit
0
;
fi
fi
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment