Skip to content
Snippets Groups Projects
Commit f32676a4 authored by Gab's avatar Gab
Browse files

validation script slightly updated

parent 3d349953
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,10 @@ ...@@ -2,11 +2,10 @@
set -e set -e
python $(dirname $0)/validate.py python $(dirname $0)/validate.py
cat results-Smilei-large/large_test.out | grep "Time in time loop "
if [ `tail -n 1 results-Smilei-large/scalars.txt | awk '{print $4}'` == "1.8759340122e+06" ] if [ `tail -n 1 results-Smilei-large/scalars.txt | awk '{print $4}'` == "1.8759340122e+06" ]
then then
echo "Validation passed" echo "Validation passed"
else else
echo "Validation failed" echo "Validation failed"
fi fi
cat results-Smilei-large/large_test.out | grep "Time in time loop "
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
set -e set -e
python $(dirname $0)/validate.py python $(dirname $0)/validate.py
cat results-Smilei-small/small_test.out | grep "Time in time loop "
if [ `tail -n 1 results-Smilei-small/scalars.txt | awk '{print $4}'` == "4.6898134226e+05" ] if [ `tail -n 1 results-Smilei-small/scalars.txt | awk '{print $4}'` == "4.6898134226e+05" ]
then then
echo "Validation passed" echo "Validation passed"
else else
echo "Validation failed" echo "Validation failed"
fi fi
cat results-Smilei-small/small_test.out | grep "Time in time loop "
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment