Skip to content

Commit 58aa6e3

Browse files
committed
Test: Update tools/catch_properties.sh
1 parent e27ef92 commit 58aa6e3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/integrate/tools/catch_properties.sh

+9
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ gamma_only=$(get_input_key_value "gamma_only" "INPUT")
5858
imp_sol=$(get_input_key_value "imp_sol" "INPUT")
5959
run_rpa=$(get_input_key_value "rpa" "INPUT")
6060
out_pot=$(get_input_key_value "out_pot" "INPUT")
61+
out_elf=$(get_input_key_value "out_elf" "INPUT")
6162
out_dm1=$(get_input_key_value "out_dm1" "INPUT")
6263
get_s=$(get_input_key_value "calculation" "INPUT")
6364
out_pband=$(get_input_key_value "out_proj_band" "INPUT")
@@ -165,6 +166,14 @@ if ! test -z "$out_pot" && [ $out_pot == 2 ]; then
165166
echo "ComparePot_pass $?" >>$1
166167
fi
167168

169+
#echo $out_elf
170+
if ! test -z "$out_elf" && [ $out_elf == 1 ]; then
171+
pot1ref=refELF.cube
172+
pot1cal=OUT.autotest/ELF.cube
173+
python3 ../tools/CompareFile.py $pot1ref $pot1cal 3
174+
echo "ComparePot1_pass $?" >>$1
175+
fi
176+
168177
#echo $get_s
169178
if ! test -z "$get_s" && [ $get_s == "get_S" ]; then
170179
sref=refSR.csr

0 commit comments

Comments
 (0)