Skip to content

Commit

Permalink
test: add tga-to-png runs
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 11, 2024
1 parent 27e4ecf commit 6f2e4e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ def crunch(input_path, output_path, options=[]):
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.png")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.jpg")

mkdir("build/test/tga-to-png")
crunch("test/raw-bottom-left.tga", "build/test/tga-to-png/raw-bottom-left.png")
crunch("test/raw-bottom-right.tga", "build/test/tga-to-png/raw-bottom-right.png")
crunch("test/raw-top-left.tga", "build/test/tga-to-png/raw-top-left.png")
crunch("test/raw-top-right.tga", "build/test/tga-to-png/raw-top-right.png")
crunch("test/rle-bottom-left.tga", "build/test/tga-to-png/rle-bottom-left.png")
crunch("test/rle-bottom-right.tga", "build/test/tga-to-png/rle-bottom-right.png")
crunch("test/rle-top-left.tga", "build/test/tga-to-png/rle-top-left.png")
crunch("test/rle-top-right.tga", "build/test/tga-to-png/rle-top-right.png")

mkdir("build/test/tga-to-crn")
crunch("test/raw-bottom-left.tga", "build/test/tga-to-crn/raw-bottom-left.crn")
crunch("test/raw-bottom-right.tga", "build/test/tga-to-crn/raw-bottom-right.crn")
Expand Down

0 comments on commit 6f2e4e9

Please sign in to comment.