Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Removing now unnecessary processing #19

Merged
merged 1 commit into from
Aug 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .container-diff-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ while IFS=$' \n\r' read -r flag differ image1 image2 file; do
fi
done < tests/differ_runs.txt

while IFS=$' \n\r' read -r preprocess json; do
python $preprocess $json
if [[ $? -ne 0 ]]; then
echo "Could not preprocess" "$json" "for diff comparison"
exit 1
fi
done < tests/preprocess_files.txt

success=0
while IFS=$' \n\r' read -r differ actual expected; do
diff=$(jq --argfile a "$actual" --argfile b "$expected" -n 'def walk(f): . as $in | if type == "object" then reduce keys[] as $key ( {}; . + { ($key): ($in[$key] | walk(f)) } ) | f elif type == "array" then map( walk(f) ) | f else f end; ($a | walk(if type == "array" then sort else . end)) as $a | ($b | walk(if type == "array" then sort else . end)) as $b | $a == $b')
Expand Down
35 changes: 0 additions & 35 deletions tests/multi_version_packages_test_processor.py

This file was deleted.

6 changes: 0 additions & 6 deletions tests/preprocess_files.txt

This file was deleted.