We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a8baa2 commit 733276eCopy full SHA for 733276e
1 file changed
tests/output_matching.sh
@@ -7,7 +7,7 @@
7
set -o errexit
8
set -o xtrace
9
10
-PYTHON_PATH=$(which python)
+PYTHON_PATH=$(which python3)
11
MD5_PATH=$(which md5sum)
12
OUTPUT_PATH="/tmp"
13
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/../
@@ -25,7 +25,7 @@ function run_output_matching_test()
25
# Iterate through every map file..
26
while read -r map_file; do
27
local pretty_name=$(basename ${map_file} .map)
28
- ${PYTHON3_PATH} spawn_zone_tool.py "tests/maps/${map_file}.map" --output "${OUTPUT_PATH}/${map_file}.nsz"
+ ${PYTHON_PATH} spawn_zone_tool.py "tests/maps/${map_file}.map" --output "${OUTPUT_PATH}/${map_file}.nsz"
29
30
if [[ $(${MD5_PATH} "tests/nszs/${map_file}.nsz" "${OUTPUT_PATH}/${map_file}.nsz" | awk '{print $1}' | uniq | wc -l) == 1 ]]; then
31
echo "[INFO]: [${map_file}] PASS"
0 commit comments